POST api/Operator/GetPlaybackForVehicle
Request Information
URI Parameters
None.
Body Parameters
PlaybackDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId | integer |
None. |
|
| StartTime | string |
None. |
|
| EndTime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleId": 1,
"StartTime": "sample string 2",
"EndTime": "sample string 3"
}
application/xml, text/xml
Sample:
<PlaybackDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.Operator"> <EndTime>sample string 3</EndTime> <StartTime>sample string 2</StartTime> <VehicleId>1</VehicleId> </PlaybackDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of GPSPosition| Name | Description | Type | Additional information |
|---|---|---|---|
| GPSPositionID | integer |
None. |
|
| MixGPSPositionID | integer |
None. |
|
| DriverID | integer |
None. |
|
| Time | date |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Heading | integer |
None. |
|
| Satellites | integer |
None. |
|
| Odometer | decimal number |
None. |
|
| VelocityKph | integer |
None. |
|
| IsAVL | boolean |
None. |
|
| DriverName | string |
None. |
|
| DriverRedGreenStatus | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"GPSPositionID": 1,
"MixGPSPositionID": 2,
"DriverID": 3,
"Time": "2025-12-11T05:29:14.9103088+02:00",
"Latitude": 5.1,
"Longitude": 6.1,
"Heading": 7,
"Satellites": 8,
"Odometer": 9.1,
"VelocityKph": 10,
"IsAVL": true,
"DriverName": "sample string 12",
"DriverRedGreenStatus": true
},
{
"GPSPositionID": 1,
"MixGPSPositionID": 2,
"DriverID": 3,
"Time": "2025-12-11T05:29:14.9103088+02:00",
"Latitude": 5.1,
"Longitude": 6.1,
"Heading": 7,
"Satellites": 8,
"Odometer": 9.1,
"VelocityKph": 10,
"IsAVL": true,
"DriverName": "sample string 12",
"DriverRedGreenStatus": true
}
]
application/xml, text/xml
Sample:
<ArrayOfGPSPosition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.Operator">
<GPSPosition>
<DriverID>3</DriverID>
<DriverName>sample string 12</DriverName>
<DriverRedGreenStatus>true</DriverRedGreenStatus>
<GPSPositionID>1</GPSPositionID>
<Heading>7</Heading>
<IsAVL>true</IsAVL>
<Latitude>5.1</Latitude>
<Longitude>6.1</Longitude>
<MixGPSPositionID>2</MixGPSPositionID>
<Odometer>9.1</Odometer>
<Satellites>8</Satellites>
<Time>2025-12-11T05:29:14.9103088+02:00</Time>
<VelocityKph>10</VelocityKph>
</GPSPosition>
<GPSPosition>
<DriverID>3</DriverID>
<DriverName>sample string 12</DriverName>
<DriverRedGreenStatus>true</DriverRedGreenStatus>
<GPSPositionID>1</GPSPositionID>
<Heading>7</Heading>
<IsAVL>true</IsAVL>
<Latitude>5.1</Latitude>
<Longitude>6.1</Longitude>
<MixGPSPositionID>2</MixGPSPositionID>
<Odometer>9.1</Odometer>
<Satellites>8</Satellites>
<Time>2025-12-11T05:29:14.9103088+02:00</Time>
<VelocityKph>10</VelocityKph>
</GPSPosition>
</ArrayOfGPSPosition>