event.drive.state

The event.drive.state event provides real‑time information about the asset’s driving condition, including motion state, fuel levels, mileage, and geographic position. This data supports operational monitoring, trip analysis, and fleet performance insights.

Payload JSON

{
   "eventSubscriptionId":"517db07f-6e95-475e-8cc0-a371f9deed2b",
   "eventType":"event.drive.state",
   "eventVersion":1,
   "eventId":"c37f8ac9-8206-4f95-afd1-74e442d09c07",
   "assetId":"2412ba2f-4499-4933-a9ce-69f6a38f44ee",
   "unitId":"traxee:358014094033866",
   "registeredOn":"2021-03-26T22:20:59Z",
   "eventData":{
      "ref": {
        "fuel": 37,
        "mileage": 62318,
        "latitude": 51.1655,
        "longitude": 3.5117
      },
      "state":"rolling"
   }
}

Field level Description

FieldTypeOptional/RequiredDescription
eventSubscriptionIdString (UUID)RequiredA unique identifier representing the subscription through which this event was delivered. It ensures traceability between the event and the organization's registered RMS subscription.
eventTypeStringRequiredIndicates the type of event transmitted. Here, event.drive.state signifies a driving‑state update from the asset.
eventVersionNumberRequiredeventVersion indicates the schema version of the event, allowing producers and consumers to interpret the event consistently as the schema evolves.
eventIdString (UUID)RequiredA globally unique identifier assigned to this specific event instance. Useful for event deduplication, tracking, and audit logging.
assetIdString (UUID)RequiredIdentifies the physical asset (e.g., vehicle, trailer, equipment) associated with this event. Used to correlate telemetry with a specific asset in fleet management systems.
unitIdStringRequiredA unique identifier of the telematics device generating the event. It often includes a namespace (e.g., traxee:) followed by the device's serial or IMEI-like identifier.
registeredOnDateTime (ISO 8601 timestamp, UTC)RequiredThe timestamp representing when the event was detected and recorded by the device.
eventDataObjectRequiredContains all driving‑state‑related telemetry recorded at the time of the event.
refObjectOptional
ref.fuelNumber (percentage or system‑specific fuel unit)OptionalRepresents the current fuel level of the asset at the time of the event. Enables monitoring of fuel consumption, trip readiness, and refueling planning.
ref.mileageNumber (kilometers)OptionalIndicates the total cumulative distance traveled by the asset up to the event timestamp. Supports maintenance scheduling, utilization analysis, and trip reporting.
ref.latitudeNumber (decimal degrees)OptionalThe asset's recorded geographic latitude at the time of the event, using the WGS‑84 coordinate standard.
ref.longitudeNumber (decimal degrees)OptionalThe asset's recorded geographic longitude at the event timestamp, also in WGS‑84 format.
stateStringRequiredDescribes the driving condition of the asset at the time of the event. Example values may include:
rolling — The asset is started moving, but unsure if this represents a real drive (maybe just re-parking the asset)
driving — Confirmed motion of the asset.
stopping — The asset came to a standstill, but unsure if this represents a real standstill (maybe just stopping at the traffic).
standstill — Confirmed stop of the asset.
unknown — The state is unknown of the asset.