| Attribute | Data Type | Description |
|---|---|---|
| eventType | integer | Represents particular event type. In this case it is trip started event |
| data.tripId | string | Unique Id of the Trip |
| data.orderId | string | Order Id where the trip belongs |
| data.vehicleId | string | Vehicle executing the Trip |
| data.vehicleCategoryName | string | Vehicle Category executing the Trip |
| data.driver | string | Driver executing the Trip |
| data.driverPhone | string | Phone number of the driver |
| data.startTime | string | Planned start time of the trip |
| data.startTz | string | Timezone of the start time |
| data.endTime | string | Planned end time of the trip |
| data.endTz | string | Timezone of the end time |
| data.actualStartTime | string | Actual start time of the trip |
| data.travelDistance | integer | Planned Total Travel distance in kilometers |
| data.travelTime | integer | Planned Total Travel time in minutes |
| data.noOfPickups | integer | Total Number of pickups in a trip |
| data.noOfDeliveries | integer | Total Number of deliveries in a trip |
| data.status | integer | Status of the trip. 2 is completed,3 is auto closed |
| data.shipments.businessCode | string | Customer code of the delivery |
| data.shipments.startTime | string | Planned start time of the delivery |
| data.shipments.endTime | string | Planned end time of the delivery |
| data.shipments.tz | string | timezone of the delivery |
| data.shipments.location | string | Planned latlong of the delivery |
| data.shipments.status | integer | Current status of the delivery |
| data.shipments.type | integer | represents type of the activity. 0 for pickup, 1 for delivery |
| data.shipments.packageList.refNo | string | Order Reference number as per the source system |
| data.shipments.packageList.packages.code | string | Unique code representing the package/sku |
| data.shipments.packageList.packages.qty | integer | Planned quantity of the package/sku |
| data.shipments.instructions.type | string | Type of the instruction as configured in the system |
| data.shipments.instructions.planned | string | Planned value of the instruction |
| eventTime | long | Time in milliseconds in EPOCH format |