ETA Message
An ETA message is generated when the Drivers App calculates the ETA for stop.
The Drivers App can calculate the ETA for the next stop in the trip. Currently, there are 2 triggers for calculating the ETA.
Starting a trip -> This action triggers the ETA calculation of the first stop in the trip
Finishing a stop -> This action triggers the ETA calculation of the first unfinished stop in the trip
The data field of an ETA message consists of the properties described below.
Property | Nullable | Type | Description |
|---|---|---|---|
foreignId | false | string | Contains the |
flag | false | string | Contains the |
eta | false | string | The ETA as an ISO 8601 formatted string |
etaMillis | false | long | The ETA as a Unix timestamp (milliseconds) |
calculatedAt | false | string | The moment the ETA was calculated as an ISO 8601 formatted string |
calculatedAtMillis | false | long | The moment the ETA was calculated as a Unix timestamp (milliseconds) |
Example
The example below contain an ETA message.