Hello,
sorry but I can't find the attributes format of commands sent to devices via API. I'm looking here https://www.traccar.org/api-reference/#tag/Commands/paths/~1commands~1send/get and can't figure out what format is expected for attributes?
For example for the command of type setOdometer, what are the attributes?
{
"id": 0,
"deviceId": 0,
"description": "",
"type": "setOdometer",
"attributes": {}
}
What are the attributes of all commands?
The best option is to look in the code.
Hello,
sorry but I can't find the attributes format of commands sent to devices via API. I'm looking here https://www.traccar.org/api-reference/#tag/Commands/paths/~1commands~1send/get and can't figure out what format is expected for attributes?
For example for the command of type setOdometer, what are the attributes?
{ "id": 0, "deviceId": 0, "description": "", "type": "setOdometer", "attributes": {} }
What are the attributes of all commands?