Contents
General principle for clients is that the schema files are documentation over the data rather than a strict schema e.g. the clients need to handle new properties and the fact that enums could have values not matching schema.
Uses standard basic-auth for authorization
Additional api:s that may be needed Vehicles api
Retrive vehicles
Accepted-Encoding can be set to gzip for compressed result in case transfer takes a long time
{ "From": [required] Timestamp "To": [required] Timestamp "AllVehicles": boolean "Vehicles": array of strings, identifing vehicle filter (default: external-id) }Response:
{ "Data": array of SignalLoggerRecord }
{ "Ids": [required] array of strings }Response:
{ "Data": array of SignalLoggerData }
{ "Options": { "CompleteRows": [optional] bool - Expand rows with latest signal value creating complete rows } }
Type | Value | Description |
---|---|---|
Void | - | Signal has value status void |
Error | err | Signal has value status error |
Invalid | inv | Signal has value status invalid |
{ "Data": [ { "Vehicle": { "ExternalId": "1841" }, "Company": { "ExternalId": "100000" }, "Records": [ { "Id": "signals#3470299998#1600155382264#0#v1.log", "Header": { "SequenceNumber": 0, "StartTimestamp": "2020-09-15T07:36:22.263+02:00", "EndTimestamp": "2020-09-15T07:39:26.437+02:00" } }, { "Id": "signals#3470299998#1600155567507#1#v1.log", "Header": { "SequenceNumber": 1, "StartTimestamp": "2020-09-15T07:39:27.507+02:00", "EndTimestamp": "2020-09-15T07:45:46.807+02:00" } } ] } ] }
{ "Data": [ { "Id": "signals#3470299998#1600155382264#0#v1.log", "Header": { "SequenceNumber": 0, "StartTimestamp": "2020-09-15T07:36:22.263+02:00", "EndTimestamp": "2020-09-15T07:39:26.437+02:00" }, "Vehicle": { "ExternalId": "1841" }, "Company": { "ExternalId": "100000" }, "Entries": [ { "Timestamp": "2020-09-15T07:36:22.265+02:00", "Signals": [ { "Name": "ABS_EBSAmberWarningSignal", "Value": "-1.0" }, { "Name": "ATC_ASRInformationSignal", "Value": "-1.0" }, { "Name": "HghRslutionTotalVehicleDistance", "Value": "-1.0" }, { "Name": "RunMasterSw", "Value": "-1.0" }, { "Name": "HvacPwr2", "Value": "-1.0" } ] }, { "Timestamp": "2020-09-15T07:39:26.436+02:00", "Signals": [ { "Name": "UsureFrein", "Value": "-112.0" } ] } ] } ] }