Track a Booking
Use this API to track your booking.
The status of the job is updated as soon as any event happens on the booking. We update the job status in our system in real-time so you can notify or users who the driver is or which vehicle is coming to pick them up.
Endpoint
POST /api/JobTrack
Example Request
{
"JobNumber": 7997031
}
Example Response
[
{
"JobStatus":"Job Finished"
}
]
OR
[
{
"JobStatus":"Not Assigned"
}
]
OR
[
{
"DriverId":"30",
"CurrentStatus":"Red",
"LatLong":"POINT (34.31065 72.058268)",
"JobNumber":"7988684",
"JobStatus":"Custonboard"
}
]
The following table shows the possible statuses you can received in this API with there descriptions
Status | Description |
---|---|
ConfirmPending | Job given to a driver and waiting for a driver to accept the job (Max: 30 Sec) |
Accepted | Job is accepted by the driver |
Waitforcustomer | Driver is waiting for the passenger |
Custonboard | Passenger on board and moving to destination |
DestReached | Driver is soon to clear the booking |
AcceptCost | Booking is completed and driver has accepted the cost (Job is completed) |
FOJ | The job is given to a driver as a follow on job. |
NoAnswer | Job was assigned to the driver but the driver did not accept or reject the job explicitly The system pulled the job and marked it as no answer. |
NoShow | Driver waited for the passenger but the passenger did not show up. |
Pulled | Operator has pulled the job from the driver. |
Radio | Job is assigned as a radio. (usually when driver is not logged in or loses GPS) |
Rejected | Driver rejected the job |
Returned | Driver accepted then returned the job |
WaitAndRetry | System could not find a suitable driver for a job and retried looking for a driver. |