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
| Field | Type | Description |
|---|---|---|
tripExternalId | String | External identifier of the trip, when provided. |
tripId | Guid | Unique identifier of the trip. |
organizationId | Guid | Identifier of the organization that owns the trip. |
registeredOn | DateTime | UTC timestamp when this event was registered. |
eventId | Guid | Unique identifier of this event. |
occurredOn | DateTime | UTC timestamp when this event occurred. |
Updated 14 days ago
Did this page help you?