spotSubcontracting.trip.finished

spotSubcontracting.trip.finished

Published when a spot subcontracting trip is finished. The payload identifies the organization and trip, and includes the trip's external identifier when one is available.

Payload JSON

The event is delivered in the standard Datahub event batch envelope:

{
  "eventBatchId": "550e8400-e29b-41d4-a716-446655440000",
  "eventSubscriptionId": "660e8400-e29b-41d4-a716-446655440001",
  "eventBatchTime": "2026-05-27T14:30:00Z",
  "eventsData": [
    {
      "eventType": "spotSubcontracting.trip.finished",
      "eventVersion": 1,
      "eventData": {
        "tripExternalId": "sample",
        "tripId": "770e8400-e29b-41d4-a716-000000000001",
        "organizationId": "770e8400-e29b-41d4-a716-000000000002",
        "registeredOn": "2026-05-27T14:30:00Z",
        "eventId": "770e8400-e29b-41d4-a716-000000000003",
        "occurredOn": "2026-05-27T14:30:00Z"
      }
    }
  ]
}

Field descriptions

FieldTypeDescription
tripExternalIdStringExternal identifier of the trip, when provided.
tripIdGuidUnique identifier of the trip.
organizationIdGuidIdentifier of the organization that owns the trip.
registeredOnDateTimeUTC timestamp when this event was registered.
eventIdGuidUnique identifier of this event.
occurredOnDateTimeUTC timestamp when this event occurred.

Did this page help you?