activityContextEvent.created

Supported events:

  • newDriverOperational: The driver linked to the asset is different from the previously linked driver for that asset
  • sameDriverOperational: The driver linked to the asset is the same driver that was previously linked to that asset
  • driverNotOperational: The driver is signed out or unlinked from the asset
{
  "eventId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "eventTime": "2025-05-12T22:21:00.000Z",
  "eventOrganizationId": "7e2c1a8b-1f2b-4c3d-9e8a-2b7c1a8b1f2b",
  "subscriptions": [
    {
      "eventSubscriptionIds": "a1c2e3f-4b5d-6e7f-8a9b-0c1d2e3f4a5b",
      "eventsMeta": [
        {
          "eventName": "activityContextEvent.created",
          "count": 1
        }
      ],
      "eventsData": [
        {
          "eventType": "activityCcontextEvent.created",
          "eventVersion": 1,
          "eventData": {
            "assetId": "1a8b2f3d-3c2b-4e7a-9c1d-8b2f3d1a8b2f",
            "driverId": "2b3c1a8b-2f3d-4e7a-9c1d-8b2f3d1a8b2f",
            "activityContextEventId": "3c2b1a8b-2f3d-4e7a-9c1d-8b2f3d1a8b2f",
            "activityContextEventType": "newDriverOperational",
            "activityContextEventDefinitionId": "4e7a9c1d-2b3c-4f2d-8a7c-1a8b2f3d3c2b",
            "workflowSessionId": "8a7c1a8b-2f3d-4c2b-9e7a-3c2b1a8b2f3d",
            "position": {
              "latitude": 50.869,
              "longitude": 2.8942
            },
            "mileage": 123456.7,
            "endMileage": 123457.7,
            "modifiedOn": "2025-05-12T22:20:00.000Z",
            "registeredOn": "2025-05-12T22:20:00.000Z"
          }
        }
      ]
    }
  ]
}