Vehicle
Add vehicle
Changed onpost/Vehicle
Request
- Base URLhttps://api.track-pod.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header X-API-KEY
Request body
Example request
{
"Number": "XXX777",
"CarrierCode": "31",
"Carrier": "Big Logistics",
"Weight": 100,
"Volume": 14.5,
"Pallets": 16,
"Length": 2.7,
"Width": 0.9,
"Height": 1.6,
"DriverId": "00000000-0000-0000-0000-000000000000",
"DriverUsername": "MyDriver",
"DepotId": "1",
"Depot": "9 Riverside, Salford M7 1PA ",
"MaxNodes": 5,
"MaxWorkTime": 8,
"MaxDistance": 1000,
"SpeedRatio": 1,
"CostPerDistance": 1.1,
"CostPerHour": 10,
"StartTime": "08:00:00",
"VehicleType": 1,
"EmissionCo2": 250
}Response
Vehicle was created successfully
Changes
- info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/xml) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/xml) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/xml)
- info
- info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/xml) - info
added the non-success response with the status
- info