spotSubcontracting.mission.arrived

spotSubcontracting.mission.arrived

Published when a driver reports arrival at a mission. The payload identifies the organization, trip, and mission, and includes the reported arrival location and feedback details.

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.mission.arrived",
      "eventVersion": 1,
      "eventData": {
        "location": {
          "x": 4.3517,
          "y": 50.8503,
          "validity": "invalid"
        },
        "tripId": "770e8400-e29b-41d4-a716-000000000001",
        "missionId": "770e8400-e29b-41d4-a716-000000000002",
        "feedbackId": "770e8400-e29b-41d4-a716-000000000003",
        "serverTime": "2026-05-27T14:30:00Z",
        "tripExternalId": "sample",
        "missionExternalId": "sample",
        "tripStatus": "created",
        "organizationId": "770e8400-e29b-41d4-a716-000000000004",
        "registeredOn": "2026-05-27T14:30:00Z",
        "eventId": "770e8400-e29b-41d4-a716-000000000005",
        "occurredOn": "2026-05-27T14:30:00Z"
      }
    }
  ]
}

Field descriptions

FieldTypeDescription
locationCoordinateCoordinates and validity of the reported location.
location.xNumberLongitude coordinate.
location.yNumberLatitude coordinate.
location.validityStringIndicates whether the location coordinates are valid.
tripIdGuidUnique identifier of the trip.
missionIdGuidUnique identifier of the mission.
feedbackIdGuidUnique identifier of the feedback submitted for this mission.
serverTimeDateTimeUTC timestamp when the server received the feedback.
tripExternalIdStringExternal identifier of the trip, when provided.
missionExternalIdStringExternal identifier of the mission, when provided.
tripStatusStringCurrent status 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?