Send or Save Mapping by File
# Send or Save Mapping by File
Path:
/api/set_rcv_layout
Method: POST
Content-type: application/json; charset=utf-8
API Description: This can be used to send or save the mapping as file.
Request
Name | Type | Example | Description |
---|---|---|---|
type | String | file | file: By binary file; path: By file path. |
isSend | bool | false | Indicate if mapping has been sent. False by default. |
Request Body
Name | Type | Example | Description |
---|---|---|---|
name | String | "xxx.rcvbp" | The parameter filename of the receiving card. |
Example
(1) PATH Method (for Internal App)
{
"name": "2021-10-21 190744.mapping"
}
(2) FILE Mode
Response
Name | Type | Example | Description |
---|---|---|---|
errorCode | int | 0 | Error code. |
apiErrorCode | int | 0 | API error code. |
Example
{
"errorCode": 0,
"apiErrorCode":0
}