export_json
To export data to a WLP file, use the exchange/export_json command.
svc=exchange/export_json¶ms={"fileName":<text>,
"json":{}}
This request can’t be executed simultaneously with any request from this chapter and the following requests:
- …/report/exec_report,
- …/report/export_result,
- …/report/get_result_chart,
- …/report/get_result_map,
- …/messages/load_interval,
- …/render/create_messages_layer,
- …/unit/get_trips,
- …/resource/get_driver_bindings,
- …/resource/get_trailer_bindings,
- …/account/get_account_history.
Parameters
Parameter | Description |
fileName | File name |
json | JSON to be exported |
Response
If the request is completed successfully, a WLP file is returned. Otherwise, an error code is returned.
Error codes
Code | Description |
3 | Parameters validation error or other types of errors. |
1 | Invalid or obsolete request SID. |