activityContextEvent.updated
activityContextEvent.updated
This event is raised each time an activity context event item is updated
Supported events:
-
newDriverOperational: the driver that links with the asset, is different from the previous linked driver for that asset.
-
sameDriverOperational: the driver that links with the asset, is the same driver as was previously linked with the asset.
-
driverNotOperational: the driver is signed out or unlinked from the asset.
-
ignition OFF: the ignition of the asset is off.
-
ignition ON: the ignition of the asset is on.
-
engine is running: the engine of the asset is running.
-
engine is stopped: the engine of the asset has stopped.
-
input 1 active (Digital input): the digital input 1 is active.
-
input 1 inactive (Digital input): the digital input 1 is inactive.
-
input 2 active (Digital input): the digital input 2 is active.
-
input 2 inactive (Digital input): the digital input 2 is inactive.
-
input 1 active (Extension kit): the digital input 1 is active on extension kit 1.
-
input 1 inactive (Extension kit): the digital input 1 is inactive on extension kit 1.
-
input 2 active (Extension kit): the digital input 2 is active on extension kit 1.
-
input 2 inactive (Extension kit): the digital input 2 is inactive on extension kit 1.
-
input 3 active (Extension kit): the digital input 3 is active on extension kit 1.
-
input 3 inactive (Extension kit): the digital input 3 is inactive on extension kit 1.
-
input active (Extension kit 2): the digital input is active on extension kit 2.
-
input inactive (Extension kit 2): the digital input is inactive on extension kit 2.
-
PTO ON (CAN): the PTO on the CAN bus is ON.
-
PTO OFF (CAN): the PTO on the CAN bus is OFF.
Payload json
{
"eventBatchId": "a1b2c3d4-0000-0000-0000-000000000001",
"eventSubscriptionId": "a1b2c3d4-0000-0000-0000-000000000002",
"eventBatchTime": "2026-05-20T09:00:00.0000000Z",
"eventsData": [
{
"eventType": "activityContextEvent.updated",
"eventVersion": 1,
"eventData": {
"assetId": "62afd4e8-d2a3-48b7-9e16-83692d26469b",
"driverId": "c69e6841-ac9e-4a45-9ac5-d078977a7557",
"activityContextEventId": "a1b2c3d4-0000-0000-0000-000000000001",
"activityContextEventDefinitionId": "a1b2c3d4-0000-0000-0000-000000000001",
"activityContextEventType": "newDriverOperational",
"workflowSessionId": "b1c055ce-691e-4614-b25e-7da356a88785",
"position": {
"longitude": 0,
"latitude": 0
},
"mileage": 0,
"modifiedOn": "2025-01-01T00:00:00Z",
"registeredOn": "2025-01-01T00:00:00Z"
}
}
]
}Field level Description
| Field | Type | Description |
|---|---|---|
assetId | uuid | Represents the ID of the asset. Required field. |
driverId | uuid | Represents the ID of the driver. Optional field. |
activityContextEventId | uuid | Represents unique identifier of the activity context event. Required field. |
activityContextEventDefinitionId | uuid | Represents unique identifier of the activity context event definition. Required field. |
activityContextEventType | string | Type of context event (e.g. newDriverOperational, engine is running). Required field. |
workflowSessionId | uuid | Represents unique identifier of the workflow session. Optional field. |
position | Position | Represents the position associated with the context event. Optional field. |
position.longitude | number | Represents the longitude of the position associated with the event. Required field. |
position.latitude | number | Represents the latitude of the position associated with the event. Required field. |
mileage | integer | Represents the odometer reading (km) around the time of the event. Optional field. |
modifiedOn | date-time | Represents the timestamp when the event was last modified. Required field. |
registeredOn | date-time | Timestamp provided by the source for when the event was registered. Required field. |
Updated 2 days ago