Driver
Add driver
Changed onpost/Driver
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
{
"Name": "John Doe",
"Vehicle": "NYC 1898",
"Phone": "+1-XXX-456-7890",
"Username": "john",
"DepotId": "1",
"Depot": "9 Riverside, Salford M7 1PA ",
"HomeAddress": "2 St Josephs Crescent, Liverpool L3 3JF",
"Zone": "South",
"Active": true,
"Note": "My favourite driver"
}Response
Driver 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
- info
endpoint added
- info