This chapter describes how to obtain the current ETA for this firm to pick-up a customer from a certain location using GPS co-ordinates using the PICKUP_ESTIMATE command.
Below is details of the data that is returned in multiple array objects.
This is the unique ID number for the driver.
Drivers First Name
Drivers Last Name
This could be either AVAILABLE or BUSY, busy being that the driver is currently in a job but is the best driver to get to the pick-up location once they finish.
Last Known Latitude of Driver (Decimal).
Last Known Longitude of Driver (Decimal).
Distance from pick-up location, including distance to drop off, then on to pick-up if already in a job. Value is in miles.
Estimated time to Pick-up is in text format such as:
Estimated time to pick-up in digit form in minutes. For example: 13