scheduledTrips.leg.started

scheduledTrips.leg.started

The scheduledTrips.leg.started event is triggered when execution of a scheduled trip leg begins.

Payload JSON

{
  "eventBatchId": "550e8400-e29b-41d4-a716-446655440000",
  "eventSubscriptionId": "660e8400-e29b-41d4-a716-446655440001",
  "eventBatchTime": "2026-05-27T14:30:00Z",
  "eventsData": [
    {
      "eventType": "scheduledTrips.leg.started",
      "eventVersion": 1,
      "eventData": {
        "actualDriverId": "770e8400-e29b-41d4-a716-000000000001",
        "actualAssetId": "770e8400-e29b-41d4-a716-000000000002",
        "actualStartTime": "2026-05-27T14:30:00Z",
        "tripId": "770e8400-e29b-41d4-a716-000000000003",
        "legId": "770e8400-e29b-41d4-a716-000000000004",
        "status": "pending",
        "organizationId": "770e8400-e29b-41d4-a716-000000000005",
        "registeredOn": "2026-05-27T14:30:00Z",
        "eventId": "770e8400-e29b-41d4-a716-000000000006",
        "occurredOn": "2026-05-27T14:30:00Z"
      }
    }
  ]
}

Field level Description

FieldTypeDescription
actualDriverIdGuidUnique identifier for the actual driver
actualAssetIdGuidUnique identifier for the actual asset
actualStartTimeDateTimeActual start time of the leg
tripIdGuidUnique identifier for the trip
legIdGuidUnique identifier for the leg
statusStringCurrent status of the leg, Created, Pending or Finished
organizationIdGuidOrganization identifier
registeredOnDateTimeRegistration timestamp
eventIdGuidEvent identifier
occurredOnDateTimeEvent occurrence timestamp

Did this page help you?