POST,GET | /report/mobilehistorytrack |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ReportId | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Positions | form | Position[] | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ObjectId | form | int | No | |
Range | form | DateTimeRange | No | |
RangeName | form | string | No | |
BuildTime | form | TimeSpan | No | |
BuildTimeRange | form | DateTimeRange | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Start | form | DateTime | No | |
End | form | DateTime | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DeviceTime | form | DateTime | No | |
Lon | form | double | No | |
Lat | form | double | No | |
Direction | form | short | 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 /report/mobilehistorytrack HTTP/1.1
Host: api.v3.monitorsystem.ru
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ReportId":"String","ApiKey":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Positions":[{"DeviceTime":"\/Date(-62135596800000-0000)\/","Lon":0,"Lat":0,"Direction":0}],"ObjectId":0,"Range":{"Start":"\/Date(-62135596800000-0000)\/","End":"\/Date(-62135596800000-0000)\/"},"RangeName":"String","BuildTime":"PT0S","BuildTimeRange":{"Start":"\/Date(-62135596800000-0000)\/","End":"\/Date(-62135596800000-0000)\/"}}