API Reference

Get Driver Availability

Use to get the driver availability details of drivers in the teams you specify. Each response is cached for 30 sec. The driver details for each driver in the teams you specify include driver Id, name, geoposition, and a list of all teams to which each driver belongs. "Availability" refers to drivers who are both online and on-shift.

OUTPUT PARAMS

success

boolean

Indicates whether the service completed successfully. The values are:

    false - the service failed.
  • true - the service succeeded.

rc

Int32

If an error occurred, the return code.

id

Int32

The Id of this driver.

lat

Int32

The geoposition latitude of the driver.

lng

Int32

The geoposition longitude of the driver.

name

string

The name of this driver.

team_ids

Array of Integers

The team Ids of the teams in which this driver is member.

Language