GET api/TruckAPI/CumminsTruckLoadDetail/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CumminsTruckLoadDetailName | Description | Type | Additional information |
---|---|---|---|
TruckOdometer | decimal number |
None. |
|
LoadCustomer | string |
None. |
|
LoadContent | string |
None. |
|
Weight | integer |
None. |
|
TrailerEmpty | boolean |
None. |
|
RemainingDriveMinutes | integer |
None. |
|
DriverCode | string |
None. |
|
DriverName | string |
None. |
|
DriverPhone | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "TruckOdometer": 1.1, "LoadCustomer": "sample string 2", "LoadContent": "sample string 3", "Weight": 4, "TrailerEmpty": true, "RemainingDriveMinutes": 6, "DriverCode": "sample string 7", "DriverName": "sample string 8", "DriverPhone": "sample string 9" }
text/html
Sample:
{"TruckOdometer":1.1,"LoadCustomer":"sample string 2","LoadContent":"sample string 3","Weight":4,"TrailerEmpty":true,"RemainingDriveMinutes":6,"DriverCode":"sample string 7","DriverName":"sample string 8","DriverPhone":"sample string 9"}
application/xml, text/xml
Sample:
<CumminsTruckLoadDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BGEAPI.Models.TruckAPIModels.Cummins"> <DriverCode>sample string 7</DriverCode> <DriverName>sample string 8</DriverName> <DriverPhone>sample string 9</DriverPhone> <LoadContent>sample string 3</LoadContent> <LoadCustomer>sample string 2</LoadCustomer> <RemainingDriveMinutes>6</RemainingDriveMinutes> <TrailerEmpty>true</TrailerEmpty> <TruckOdometer>1.1</TruckOdometer> <Weight>4</Weight> </CumminsTruckLoadDetail>