GET api/vehicle/historypoints2?VehicleId={VehicleId}&FromTime={FromTime}&ToTime={ToTime}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Device | string |
None. |
|
| FromTime | integer |
None. |
|
| ToTime | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ResultOfHistoryReponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | HistoryReponse |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"totalkm": 1.1,
"points": [
{
"vehicleId": "sample string 1",
"Time": 2,
"X": 3,
"Y": 4,
"Heading": 5,
"Kmh": 64,
"Kmage": 7.1,
"Status": 8,
"Data": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"UtcTicks": 9
},
{
"vehicleId": "sample string 1",
"Time": 2,
"X": 3,
"Y": 4,
"Heading": 5,
"Kmh": 64,
"Kmage": 7.1,
"Status": 8,
"Data": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"UtcTicks": 9
}
]
},
"Code": "sample string 1",
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ResultOfHistoryReponse_SKLUZppE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vietmap.Common">
<Code>sample string 1</Code>
<Message>sample string 2</Message>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Vietmap.Camera.MasterService.Models">
<d2p1:points>
<d2p1:PointModelResponse>
<d2p1:Data xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>sample string 2</d5p1:Value>
</d5p1:KeyValueOfstringstring>
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>sample string 4</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Data>
<d2p1:Heading>5</d2p1:Heading>
<d2p1:Kmage>7.1</d2p1:Kmage>
<d2p1:Kmh>64</d2p1:Kmh>
<d2p1:Status>8</d2p1:Status>
<d2p1:Time>2</d2p1:Time>
<d2p1:UtcTicks>9</d2p1:UtcTicks>
<d2p1:X>3</d2p1:X>
<d2p1:Y>4</d2p1:Y>
<d2p1:vehicleId>sample string 1</d2p1:vehicleId>
</d2p1:PointModelResponse>
<d2p1:PointModelResponse>
<d2p1:Data xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>sample string 2</d5p1:Value>
</d5p1:KeyValueOfstringstring>
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>sample string 4</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Data>
<d2p1:Heading>5</d2p1:Heading>
<d2p1:Kmage>7.1</d2p1:Kmage>
<d2p1:Kmh>64</d2p1:Kmh>
<d2p1:Status>8</d2p1:Status>
<d2p1:Time>2</d2p1:Time>
<d2p1:UtcTicks>9</d2p1:UtcTicks>
<d2p1:X>3</d2p1:X>
<d2p1:Y>4</d2p1:Y>
<d2p1:vehicleId>sample string 1</d2p1:vehicleId>
</d2p1:PointModelResponse>
</d2p1:points>
<d2p1:totalkm>1.1</d2p1:totalkm>
</Data>
</ResultOfHistoryReponse_SKLUZppE>