get https://api.azuga.com/azuga-ws/v1/search/timecard.json
This API allows you to fetch shift details of all the drivers present in your account. Multiple shift details can be obtained through this API.
This API will be deprecated on 1st Feb'23.
Sample Request
API Response Explanation
Field | Description |
---|---|
eventTime | Time stamp of the event in milliseconds |
address | Address of the shift location |
city | City of the shift location |
country | Country of the shift location |
formattedAddress | Concatenated string containing the complete address |
state | State of the shift location |
zip | Postal code of the shift location |
locality | Locality or the surrounding area of the shift location |
latitude | Latitude coordinates of the shift location |
longitude | Longitude coordinates of the shift location |
accuracy | Precision of the location point |
altitude | Elevation of the shift location |
bearing | Used for navigation and direction |
speed | Speed of the vehicle which is tracked |
time | Address generation timestamp in milliseconds |
mapProviderId | Unique identifier of the map provider (Google map, Bing map etc,.) |
id | Unique shift identifier |
eventType | Type of event. There are 4 types of events: 1 - Shift start, 2 - Break start, 3 - Break End, 4 - Shift End |
comments | Additional information about the shift activity |
error | Error message |