| POST,GET | /report/mobilehistory2 |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StartTime | body | DateTime | No | |
| EndTime | body | DateTime | No | |
| ObjectId | body | int | No | |
| TimeZoneId | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ReportId | form | string | No | |
| SummaryValues | form | List<SummaryValueInfo> | No | |
| Parking | form | List<ParkValueInfo> | No | |
| Refuels | form | List<FuelEventInfo> | No | |
| FuelDrains | form | List<FuelEventInfo> | 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 |
|---|---|---|---|---|
| Name | form | string | No | |
| Value | form | string | No | |
| Unit | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| From | form | DateTime | No | |
| To | form | DateTime | No | |
| Address | form | string | No | |
| Lat | form | double | No | |
| Lon | form | double | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| From | form | DateTime | No | |
| To | form | DateTime | No | |
| Address | form | string | No | |
| Value | form | double | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /report/mobilehistory2 HTTP/1.1
Host: api.v3.monitorsystem.ru
Accept: application/json
Content-Type: application/json
Content-Length: length
{"StartTime":"\/Date(-62135596800000-0000)\/","EndTime":"\/Date(-62135596800000-0000)\/","ObjectId":0,"TimeZoneId":"String","ApiKey":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ReportId":"String","SummaryValues":[{"Name":"String","Value":"String","Unit":"String"}],"Parking":[{"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Address":"String","Lat":0,"Lon":0}],"Refuels":[{"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Address":"String","Value":0}],"FuelDrains":[{"From":"\/Date(-62135596800000-0000)\/","To":"\/Date(-62135596800000-0000)\/","Address":"String","Value":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)\/"}}