Tracking
The Tracking section enables continuous monitoring of location data for vehicles. It keeps the user's eye on the movement and status of your vehicles, facilitating efficient resource allocation, improved customer service, and enhanced operational visibility.
Tracking Object
The tracking object represents the real-time location and status of a vehicle. It provides comprehensive data points that enable you to monitor and analyze the movement of vehicles.
Attributes Description
Vehicles Locations
It has the vehicle's current location and the next stop destination with an estimated arrival time.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Required | The unique identifier for the vehicle. |
| Object of location | Required | Contains the current location longitude and latitude of the vehicle. |
| Date time | Required | The timestamp indicating when the location was recorded. |
| Object of node | - | Details of the previous node where the vehicle was located. |
| Object of node | - | Details of the destination node for the vehicle. |
| Time | - | The estimated time to reach the destination node. |
| Double | - | The estimated distance to the destination node. |
| String | - | The unit of measurement for the distance. |
Location
It represents the current location of the vehicle by checking it's longitude and the latitude.
Attribute | Data Type | Required | Description |
---|---|---|---|
| Float | - | The current longitude of the vehicle. |
| Float | - | The current latitude of the vehicle. |
Descriptive Response Object
This object typically includes key-value pairs, with fields such as "status" indicating the overall success or failure.
Attribute | Data Type | Required | Description |
---|---|---|---|
| String | Yes | The response message. |
| Boolean | Yes | Indicates if an error occurred. |
| String | No | The error message (if IsErrorState is true). |
| String | No | The error code (if IsErrorState is true). |
Available Endpoints
Send Vehicle Location
POST
https://api.normalive.ai/SendVehicleLocation
This endpoint is for sending the current vehicle location.
Headers
Name | Type | Description |
---|---|---|
authentication * | String | Bearer token acquired after authentication |
Request Body
Name | Type | Description |
---|---|---|
VehicleId* | string | Vehicle ID |
Current Location* | object | Current Location of Vehicle |
TimesStamp* | datetime | Current date time |
Last updated