spotSubcontracting.trip.finished

Contains the SCALAR trip ID and optionally the external trip ID as parameters. This message is sent immediately after a mission.finished message as the trip is finished automatically by Spot subcontracting module.

Example of trip.finished message

{
  "eventBatchId": "d66017ec-6889-4835-86d4-d6cde5e7885c",
  "eventSubscriptionId": "3ca0439c-0cd3-47b4-85ed-a66a15957eb3",
  "eventBatchTime": "2024-03-06T10:18:37.8892745Z",
  "eventsData": [
    {
      "eventType": "spotSubcontracting.trip.finished",
      "eventVersion": "1",
      "eventData": {
        "tripExternalId": "my_Manual7_TripExternal-Id",
        "tripId": "a9fdc005-134b-4b51-8b36-daa66e869061",
        "organizationId": "e6c0f169-6f7a-4981-8e1a-0ca8344c4a77",
        "registeredOn": "2024-03-06T10:18:36.3769089Z",
        "eventId": "f482ae22-a847-4c4e-9b5d-03d6d8833040",
        "occurredOn": "2024-03-06T10:18:36.3769089Z"
      }
    }
  ]
}