Driver Location Updates
Receive driver location updates.
home
Addison Lee can push Driver Location Updates to partners via HTTP POST
.
Please enter in contact with your Account Manager if you are interested in receiving Driver Location Updates.
Description
Current driver location containing job and driver details.
Content Type
application/json
Response Example
{
"status": "TRACKING",
"job": {
"id": "J0000012345656",
"number": "345678",
"uuid": "48222baa-07b5-44b0-bfa7-6b27ae432d44",
"vendor": "0"
},
"allocation": {
"type": "COURIER",
"driver": {
"callsign": "P60",
"contact": "07491049851",
"id": "55000000000006984",
"name": "LEONARDO"
},
"vehicle": {
"color": "Black",
"model": "HONDA, CBF",
"reg": "LG63UKY"
}
},
"dates": {
"event": "2017-04-03T16:44:18.113+01:00"
},
"geo": {
"lat": 51.509926,
"long": -0.128376,
"time": "2017-04-03T16:44:18.113+01:00"
},
"heading": {
"address": {
"formatted_address": "Flat 2, 9 Charing Cross Road, London, WC2H 0EP",
"geo" : {
"lat" : 51.509983,
"long" : -0.128613
}
},
"estimates": {
"distance": 4211,
"time": "00:20:00"
},
"status": "ONWAY"
}
}
Parameters | Description |
---|---|
status | The name of the current status. TRACKING . |
job.id | This is an unique job's ID on the host system. |
job.number | This is the job's number on the host system. |
job.vendor | This is the partner's unique identifier. |
job.uuid | This is the unique job's UUID informed by Addison Lee. |
allocation.type | The allocation type can be DRIVER or COURIER . |
allocation.driver.name | Name and surname of driver or courier. |
allocation.driver.id | Unique ID of driver or courier. |
allocation.driver.callsign | Driver's call sign. |
allocation.driver.contact | Phone number to contact the driver or courier. |
allocation.vehicle.reg | unique registration plate of the vehicle. |
allocation.vehicle.model | Maker and model of vehicle. |
allocation.vehicle.color | Colour of vehicle. |
dates.event | Tracking event date |
geo.lat | The latitude of the point in decimal degrees. |
geo.long | The longitude of the point in decimal degrees. |
geo.time | A specified date and time in the format ISO8601. |
heading.address.formatted_address | This is the stop address details. |
heading.address.geo.lat | The latitude of the stop address in decimal degrees. |
heading.address.geo.long | The longitude of the stop address in decimal degrees. |
heading.estimates.distance | This is the distance remaining to stop address. |
heading.estimates.time | This is the time remaining to stop address. |
heading.status | The name of the current status can be: ONWAY , ARRIVED , ONBOARD |