GET api/vehicle/historypoints?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
ResultOfListOfPointModelResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of PointModelResponse |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"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:
<ResultOfArrayOfPointModelResponse_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:PointModelResponse>
<d2p1:Data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:KeyValueOfstringstring>
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 3</d4p1:Key>
<d4p1:Value>sample string 4</d4p1:Value>
</d4p1: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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>sample string 2</d4p1:Value>
</d4p1:KeyValueOfstringstring>
<d4p1:KeyValueOfstringstring>
<d4p1:Key>sample string 3</d4p1:Key>
<d4p1:Value>sample string 4</d4p1:Value>
</d4p1: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>
</Data>
</ResultOfArrayOfPointModelResponse_SKLUZppE>