Driver
post/Driver

Request

  • Base URL
    https://api.track-pod.com (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header X-API-KEY

Request body

Namestring nullable

Required (*)

Name

Vehiclestring nullable

Vehicle number

Phonestring nullable

Phone

Usernamestring nullable

Required (*)

Username

Passwordstring nullable

Required (*)

Password

DepotIdstring nullable

Unique identifier in user accounting system

Depotstring nullable

Depot address

HomeAddressstring nullable

Home address

Zonestring nullable

Zone

Activeboolean nullable

Active flag

Notestring nullable

Note

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

Statusinteger nullable

The HTTP status code for the response

Titlestring nullable

A short, human-readable summary of the response

Detailstring nullable

A human-readable explanation specific to this response.

Changes