POST api/Trips/PostGetHARTPlusTripData
Request Information
URI Parameters
None.
Body Parameters
TripHARTPlusListPost| Name | Description | Type | Additional information |
|---|---|---|---|
| APIKey | string |
None. |
|
| TabletID | string |
None. |
|
| DriverID | integer |
None. |
|
| DriverNumber | string |
None. |
|
| DriverName | string |
None. |
|
| VehicleID | integer |
None. |
|
| VehicleNumber | string |
None. |
|
| TripID | integer |
None. |
|
| LinkID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"APIKey": "sample string 1",
"TabletID": "sample string 2",
"DriverID": 3,
"DriverNumber": "sample string 4",
"DriverName": "sample string 5",
"VehicleID": 6,
"VehicleNumber": "sample string 7",
"TripID": 8,
"LinkID": "sample string 9"
}
application/xml, text/xml
Sample:
<TripsModel.TripHARTPlusListPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <APIKey>sample string 1</APIKey> <DriverID>3</DriverID> <DriverName>sample string 5</DriverName> <DriverNumber>sample string 4</DriverNumber> <LinkID>sample string 9</LinkID> <TabletID>sample string 2</TabletID> <TripID>8</TripID> <VehicleID>6</VehicleID> <VehicleNumber>sample string 7</VehicleNumber> </TripsModel.TripHARTPlusListPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetTripPostHARTPlusReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| ReturnCode | integer |
None. |
|
| OverMiles | decimal number |
None. |
|
| OverFee | decimal number |
None. |
|
| EstimatedMiles | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"ReturnCode": 3,
"OverMiles": 4.0,
"OverFee": 5.0,
"EstimatedMiles": 6.0
}
application/xml, text/xml
Sample:
<TripsModel.GetTripPostHARTPlusReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <EstimatedMiles>6</EstimatedMiles> <OverFee>5</OverFee> <OverMiles>4</OverMiles> <ReturnCode>3</ReturnCode> <message>sample string 2</message> <status>true</status> </TripsModel.GetTripPostHARTPlusReturn>