Read Back Mapping as File
# Read Back Mapping as File
Path:
/api/rcv_layout_file
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to read back mapping as file.
Request
Name | Type | Example | Description |
---|---|---|---|
portIndex | int | 0 | Port number. |
returnType | String | file | file: Returned file in binary format; path: Returned path. |
Response Parameters
Name | Type | Example | Description |
---|---|---|---|
path | String | "/sdcard/Android/data/com.color.home /files/MAPPING/xxx.mapping" | File path. |
errorCode | int | 0 | Error code. |
apiErrorCode | int | 0 | API error code. |
Response
returnType is file.
Response Body:
Return the mapping file in binary format.
Error code: Return via HTTP status code.
returnType is path.
Response Example
{
"path": "/sdcard/Android/data/com.color.home/files/MAPPING/xxx.mapping",
"errorCode": 0,
"apiErrorCode":0
}