scheduledTrips.mission.endReport

scheduledTrips.mission.endReport

The scheduledTrips.mission.endReport event is triggered when a mission is finished in the system and all scheduled activities are finished. This event provides a complete snapshot of the list of scheduled activities of a mission.

Payload JSON

{
  "eventBatchId": "550e8400-e29b-41d4-a716-446655440000",
  "eventSubscriptionId": "660e8400-e29b-41d4-a716-446655440001",
  "eventBatchTime": "2026-05-27T14:30:00Z",
  "eventsData": [
    {
      "eventType": "scheduledTrips.mission.endReport",
      "eventVersion": 1,
      "eventData": {
        "tripId": "770e8400-e29b-41d4-a716-000000000001",
        "legId": "770e8400-e29b-41d4-a716-000000000002",
        "missionSetId": "770e8400-e29b-41d4-a716-000000000003",
        "missionId": "770e8400-e29b-41d4-a716-000000000004",
        "actions": [
          {
            "actionId": "770e8400-e29b-41d4-a716-000000000001",
            "activities": [
              {
                "activityId": "770e8400-e29b-41d4-a716-000000000001",
                "activityDefinitionId": "770e8400-e29b-41d4-a716-000000000002",
                "activityDefinitionName": "sample",
                "workflowSessionId": "770e8400-e29b-41d4-a716-000000000003",
                "startTime": "2026-05-27T14:30:00Z",
                "startPosition": {
                  "longitude": 13.405387,
                  "latitude": 52.520008
                },
                "endTime": "2026-05-27T14:30:00Z",
                "endPosition": {
                  "longitude": 13.405387,
                  "latitude": 52.520008
                }
              }
            ]
          }
        ],
        "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
tripIdGuidUnique identifier for the trip
legIdGuidUnique identifier for the leg
missionSetIdGuidUnique identifier for the mission set
missionIdGuidUnique identifier for the mission
actionsList<ActionReportItem>List of actions associated with the mission
actions[].actionIdGuidUnique identifier for the action
actions[].activitiesList<ActivityReportItem>The list of scheduled activities for the action
actions[].activities[].activityIdGuidUnique identifier for the activity
actions[].activities[].activityDefinitionIdGuidUnique identifier for the activity definition
actions[].activities[].activityDefinitionNameStringName of the activity definition
actions[].activities[].workflowSessionIdGuidUnique identifier for the workflow session
actions[].activities[].startTimeDateTimeThe start time of the activity
actions[].activities[].startPositionActivityCoordinateThe start position of the activity
actions[].activities[].startPosition.longitudeDouble(no description)
actions[].activities[].startPosition.latitudeDouble(no description)
actions[].activities[].endTimeDateTimeThe end time of the activity
actions[].activities[].endPositionActivityCoordinateThe end position of the activity
actions[].activities[].endPosition.longitudeDouble(no description)
actions[].activities[].endPosition.latitudeDouble(no description)
organizationIdGuidOrganization identifier
registeredOnDateTimeRegistration timestamp
eventIdGuidEvent identifier
occurredOnDateTimeEvent occurrence timestamp

Did this page help you?