POST, GET, PUT, DELETE | /FakeTrack |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Offset | body | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ObjectId | form | int | No | |
Lat | form | double | No | |
Lon | form | double | No | |
Height | form | double? | No | |
Mileage | form | double? | No | |
Speed | form | short? | No | |
Direction | form | short? | No | |
Satellites | form | short? | No | |
DeviceTime | form | DateTime | No | |
ServerTime | form | DateTime | No | |
Valid | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /FakeTrack HTTP/1.1
Host: api.v3.monitorsystem.ru
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Offset":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ObjectId":0,"Lat":0,"Lon":0,"Height":0,"Mileage":0,"Speed":0,"Direction":0,"Satellites":0,"DeviceTime":"\/Date(-62135596800000-0000)\/","ServerTime":"\/Date(-62135596800000-0000)\/","Valid":false}