POST api/Operator/GetVehicleProgress
Request Information
URI Parameters
None.
Body Parameters
VehicleProgressDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Transactiondate | date |
None. |
|
| VehicleId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Transactiondate": "2025-12-11T05:25:40.811785+02:00",
"VehicleId": "sample string 2"
}
application/xml, text/xml
Sample:
<VehicleProgressDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.Operator"> <Transactiondate>2025-12-11T05:25:40.811785+02:00</Transactiondate> <VehicleId>sample string 2</VehicleId> </VehicleProgressDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of VehicleProgress| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId | integer |
None. |
|
| RegistrationNumber | string |
None. |
|
| OnRoutePercentage | decimal number |
None. |
|
| OffRoutePercentage | decimal number |
None. |
|
| TotalOnRouteDistance | integer |
None. |
|
| TotalStars | integer |
None. |
|
| TransactDate | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VehicleId": 1,
"RegistrationNumber": "sample string 2",
"OnRoutePercentage": 3.1,
"OffRoutePercentage": 4.1,
"TotalOnRouteDistance": 5,
"TotalStars": 6,
"TransactDate": ""
},
{
"VehicleId": 1,
"RegistrationNumber": "sample string 2",
"OnRoutePercentage": 3.1,
"OffRoutePercentage": 4.1,
"TotalOnRouteDistance": 5,
"TotalStars": 6,
"TransactDate": ""
}
]
application/xml, text/xml
Sample:
<ArrayOfVehicleProgress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.Operator">
<VehicleProgress>
<OffRoutePercentage>4.1</OffRoutePercentage>
<OnRoutePercentage>3.1</OnRoutePercentage>
<RegistrationNumber>sample string 2</RegistrationNumber>
<TotalOnRouteDistance>5</TotalOnRouteDistance>
<TotalStars>6</TotalStars>
<VehicleId>1</VehicleId>
</VehicleProgress>
<VehicleProgress>
<OffRoutePercentage>4.1</OffRoutePercentage>
<OnRoutePercentage>3.1</OnRoutePercentage>
<RegistrationNumber>sample string 2</RegistrationNumber>
<TotalOnRouteDistance>5</TotalOnRouteDistance>
<TotalStars>6</TotalStars>
<VehicleId>1</VehicleId>
</VehicleProgress>
</ArrayOfVehicleProgress>