Manifests

Events

Action Event name
Create a new manifest manifests.created
Add a comment to a non existent manifest manifests.created
Update capacity to a non existent manifest manifests.created
Updates a manifest manifests.updated
Adds a comment to a manifest manifests.updated
Updates capacity to a manifest manifests.updated
A manifest had all bookings removed from it manifests.emptied
First ticket added to a manifest manifest.tickets.first.added
Create a new dispatch reporting manifest.dispatch.reporting.created

Payload example created

{
  "attemptId": "6d2b7ce7-9d99-4e3c-87ab-dc299ee0e1c1",
  "created": 1658499348,
  "data": {
    "users": [],
    "schedule": "05d17bc4-9fcd-4cc9-8238-687e2eb32219",
    "lastPaxNumber": 0,
    "createdAt": {
      "offset": 0,
      "value": "2022-07-22T14:15:18.513Z"
    },
    "seatmapUsed": false,
    "routeId": "5cd45e8754f8eb6914000001",
    "capacity": 34,
    "legs": [
      {
        "arrivalTime": "",
        "departureTime": "10:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "El Calafate",
        "stationId": "5cd4594cf588b18738217b85",
        "tickets": {}
      }
    ],
    "amenityGroupId": "648178563fb715051f420dcb",
    "amenityGroupName": "INTERMEDIO",
    "travelRouteId": "65c2a697b4f88e05ba26266a",
    "travelRouteName": "Highway",
    "capacityExceptions": [],
    "ticketCategories": {},
    "brandName": "Viktor Bus Coop Ltd",
    "operatingCompanyId": null,
    "tickets": {},
    "brandId": "5cd44aadf67ccb1837a8239c",
    "lastStation": "Rio Gallegos",
    "_id": "62dab0f66e104c089c55a71f",
    "toId": "5cd4595e8cc04422371efd32",
    "status": "open",
    "comments": "comment new?",
    "busId": "",
    "fromId": "5cd4594cf588b18738217b85",
    "operatingCompanyInfoOnPrintedTicket": null,
    "deleted": false,
    "updatedAt": {
      "offset": 0,
      "value": "2022-07-22T14:15:18.513Z"
    },
    "time": "10:00",
    "seatMapId": "",
    "requiresCheckIn": false,
    "capacityNotifSent": false,
    "arrivalTime": "17:03",
    "date": {
      "offset": 0,
      "value": "2022-07-22T00:00:00.000Z"
    },
    "scheduleDisplayName": "SCH Viktor Bus",
    "productId": "",
    "lastStationPaxs": [],
    "lastStationId": "5cd4595e8cc04422371efd32",
    "from": "El Calafate",
    "accountId": "5b9ab527c9a3ce572400043e",
    "maxLegSsrLoads": {},
    "to": "Rio Gallegos",
    "operatingCompanyName": null,
    "ownSeatmap": false,
    "isExtraRun": "boolean"
  },
  "event": "manifests.created",
  "id": "857ed998-ca61-442b-80b0-aeaab8b0370c",
  "livemode": true
}

Payload example updated

{
  "attemptId": "8cd6ae0d-0f27-4b90-91db-87fbd7a7a70a",
  "created": 1658499233,
  "data": {
    "users": [],
    "schedule": "b6dbebc2-3abf-455c-8eb4-916abd1facfe",
    "lastPaxNumber": 0,
    "createdAt": {
      "offset": 0,
      "value": "2022-07-22T14:13:22.897Z"
    },
    "userId": "62c6fa1abda40408707eb19b",
    "seatmapUsed": true,
    "routeId": "6079b4b3a8ba1367f3d0419f",
    "capacity": 36,
    "amenityGroupId": "648178563fb715051f420dcb",
    "amenityGroupName": "INTERMEDIO",
    "travelRouteId": "65c2a697b4f88e05ba26266a",
    "travelRouteName": "Highway",
    "legs": [
      {
        "arrivalTime": "",
        "departureTime": "05:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Wien",
        "stationId": "6079b1b2dbbcb8640e5c603c",
        "tickets": {}
      },
      {
        "arrivalTime": "09:00",
        "departureTime": "09:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Salzburg",
        "stationId": "6079b1f8dbbcb8640e5c603d",
        "tickets": {}
      },
      {
        "arrivalTime": "12:00",
        "departureTime": "12:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "München",
        "stationId": "6079b24adbbcb8640e5c603e",
        "tickets": {}
      },
      {
        "arrivalTime": "15:00",
        "departureTime": "15:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Nürnberg",
        "stationId": "6079b28adbbcb8640e5c603f",
        "tickets": {}
      }
    ],
    "capacityExceptions": [],
    "ticketCategories": {},
    "brandName": "Siegfried Express",
    "operatingCompanyId": null,
    "tickets": {},
    "brandId": "6079b3b8dbbcb8640e5c6041",
    "lastStation": "Bayreuth",
    "_id": "62dab0826e104c089c55a71e",
    "toId": "6079b2e0dbbcb8640e5c6040",
    "status": "open",
    "comments": "comment test",
    "busId": "",
    "fromId": "6079b1b2dbbcb8640e5c603c",
    "operatingCompanyInfoOnPrintedTicket": null,
    "deleted": false,
    "updatedAt": {
      "offset": 0,
      "value": "2022-07-22T14:13:22.900Z"
    },
    "time": "05:00",
    "seatMapId": "6079b3cfa8ba1367f3d0419d",
    "requiresCheckIn": false,
    "capacityNotifSent": false,
    "arrivalTime": "16:30",
    "date": {
      "offset": 0,
      "value": "2022-07-22T00:00:00.000Z"
    },
    "scheduleDisplayName": "Morning",
    "productId": "",
    "lastStationPaxs": [],
    "lastStationId": "6079b2e0dbbcb8640e5c6040",
    "from": "Wien",
    "accountId": "5b9ab527c9a3ce572400043e",
    "maxLegSsrLoads": {},
    "to": "Bayreuth",
    "operatingCompanyName": null,
    "ownSeatmap": false,
    "isExtraRun": "boolean"
  },
  "event": "manifests.updated",
  "id": "cdf55f96-9726-4719-9506-1ccbffa194aa",
  "livemode": true
}

Payload example emptied

{
  "attemptId": "8cd6ae0d-0f27-4b90-91db-87fbd7a7a70a",
  "created": 1658499233,
  "data": {
    "users": [],
    "schedule": "b6dbebc2-3abf-455c-8eb4-916abd1facfe",
    "lastPaxNumber": 0,
    "createdAt": {
      "offset": 0,
      "value": "2022-07-22T14:13:22.897Z"
    },
    "userId": "62c6fa1abda40408707eb19b",
    "seatmapUsed": true,
    "routeId": "6079b4b3a8ba1367f3d0419f",
    "capacity": 36,
    "amenityGroupId": "648178563fb715051f420dcb",
    "amenityGroupName": "INTERMEDIO",
    "travelRouteId": "65c2a697b4f88e05ba26266a",
    "travelRouteName": "Highway",
    "legs": [
      {
        "arrivalTime": "",
        "departureTime": "05:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Wien",
        "stationId": "6079b1b2dbbcb8640e5c603c",
        "tickets": {}
      },
      {
        "arrivalTime": "09:00",
        "departureTime": "09:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Salzburg",
        "stationId": "6079b1f8dbbcb8640e5c603d",
        "tickets": {}
      },
      {
        "arrivalTime": "12:00",
        "departureTime": "12:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "München",
        "stationId": "6079b24adbbcb8640e5c603e",
        "tickets": {}
      },
      {
        "arrivalTime": "15:00",
        "departureTime": "15:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Nürnberg",
        "stationId": "6079b28adbbcb8640e5c603f",
        "tickets": {}
      }
    ],
    "capacityExceptions": [],
    "ticketCategories": {},
    "brandName": "Siegfried Express",
    "operatingCompanyId": null,
    "tickets": {},
    "brandId": "6079b3b8dbbcb8640e5c6041",
    "lastStation": "Bayreuth",
    "_id": "62dab0826e104c089c55a71e",
    "toId": "6079b2e0dbbcb8640e5c6040",
    "status": "open",
    "comments": "comment test",
    "busId": "",
    "fromId": "6079b1b2dbbcb8640e5c603c",
    "operatingCompanyInfoOnPrintedTicket": null,
    "deleted": false,
    "updatedAt": {
      "offset": 0,
      "value": "2022-07-22T14:13:22.900Z"
    },
    "time": "05:00",
    "seatMapId": "6079b3cfa8ba1367f3d0419d",
    "requiresCheckIn": false,
    "capacityNotifSent": false,
    "arrivalTime": "16:30",
    "date": {
      "offset": 0,
      "value": "2022-07-22T00:00:00.000Z"
    },
    "scheduleDisplayName": "Morning",
    "productId": "",
    "lastStationPaxs": [],
    "lastStationId": "6079b2e0dbbcb8640e5c6040",
    "from": "Wien",
    "accountId": "5b9ab527c9a3ce572400043e",
    "maxLegSsrLoads": {},
    "to": "Bayreuth",
    "operatingCompanyName": null,
    "ownSeatmap": false,
    "isExtraRun": "boolean"
  },
  "event": "manifests.emptied",
  "id": "cdf55f96-9726-4719-9506-1ccbffa194aa",
  "livemode": true
}

Payload example first ticket added

{
  "attemptId": "8cd6ae0d-0f27-4b90-91db-87fbd7a7a70a",
  "created": 1658499233,
  "data": {
    "users": [],
    "schedule": "b6dbebc2-3abf-455c-8eb4-916abd1facfe",
    "lastPaxNumber": 0,
    "createdAt": {
      "offset": 0,
      "value": "2022-07-22T14:13:22.897Z"
    },
    "userId": "62c6fa1abda40408707eb19b",
    "seatmapUsed": true,
    "routeId": "6079b4b3a8ba1367f3d0419f",
    "capacity": 36,
    "amenityGroupId": "648178563fb715051f420dcb",
    "amenityGroupName": "INTERMEDIO",
    "travelRouteId": "65c2a697b4f88e05ba26266a",
    "travelRouteName": "Highway",
    "legs": [
      {
        "arrivalTime": "",
        "departureTime": "05:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Wien",
        "stationId": "6079b1b2dbbcb8640e5c603c",
        "tickets": {}
      },
      {
        "arrivalTime": "09:00",
        "departureTime": "09:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Salzburg",
        "stationId": "6079b1f8dbbcb8640e5c603d",
        "tickets": {}
      },
      {
        "arrivalTime": "12:00",
        "departureTime": "12:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "München",
        "stationId": "6079b24adbbcb8640e5c603e",
        "tickets": {}
      },
      {
        "arrivalTime": "15:00",
        "departureTime": "15:00",
        "load": 0,
        "loadFactor": 0,
        "parcelOff": 0,
        "parcelOn": 0,
        "paxOff": 0,
        "paxOn": 0,
        "requiresCheckIn": false,
        "ssrLoads": {},
        "station": "Nürnberg",
        "stationId": "6079b28adbbcb8640e5c603f",
        "tickets": {}
      }
    ],
    "capacityExceptions": [],
    "ticketCategories": {},
    "brandName": "Siegfried Express",
    "operatingCompanyId": null,
    "tickets": {},
    "brandId": "6079b3b8dbbcb8640e5c6041",
    "lastStation": "Bayreuth",
    "_id": "62dab0826e104c089c55a71e",
    "toId": "6079b2e0dbbcb8640e5c6040",
    "status": "open",
    "comments": "comment test",
    "busId": "",
    "fromId": "6079b1b2dbbcb8640e5c603c",
    "operatingCompanyInfoOnPrintedTicket": null,
    "deleted": false,
    "updatedAt": {
      "offset": 0,
      "value": "2022-07-22T14:13:22.900Z"
    },
    "time": "05:00",
    "seatMapId": "6079b3cfa8ba1367f3d0419d",
    "requiresCheckIn": false,
    "capacityNotifSent": false,
    "arrivalTime": "16:30",
    "date": {
      "offset": 0,
      "value": "2022-07-22T00:00:00.000Z"
    },
    "scheduleDisplayName": "Morning",
    "productId": "",
    "lastStationPaxs": [],
    "lastStationId": "6079b2e0dbbcb8640e5c6040",
    "from": "Wien",
    "accountId": "5b9ab527c9a3ce572400043e",
    "maxLegSsrLoads": {},
    "to": "Bayreuth",
    "operatingCompanyName": null,
    "ownSeatmap": false,
    "isExtraRun": "boolean"
  },
  "event": "manifest.tickets.first.added",
  "id": "cdf55f96-9726-4719-9506-1ccbffa194aa",
  "livemode": true
}

Payload example manifest dispatch reporting created

{
  "attemptId": "eda76f89-c856-46bf-905c-61f8c35e3457",
  "created": 1714739193,
  "data": {
    "dispatchReporting": {
      "_id": "6634d7f6d9f6d004f27a531c",
      "createdAt": "2024-05-03 12:26:30",
      "dateFrom": "2024-05-03",
      "dateTo": "2024-05-03"
    },
    "manifests": [
      {
        "amenityGroupId": "6634d7b4d9f6d004f27a531c",
        "arrivalDate": "03/05/2024 08:00:00",
        "brandName": "New brand",
        "busId": "Vehicle 1",
        "date": "03/05/2024",
        "departureDate": "03/05/2024 07:00:00",
        "dispatchTime": "03/05/2024 12:25:42",
        "dispatcherUser": "C DS",
        "distanceTraveled": 11,
        "driverOne": "Driver-Cld",
        "driverTwo": "C DS",
        "from": "As",
        "manifestId": "6634d7b4d9f6d004f27a531b",
        "operatingCompanyName": "sadasdsa (name)",
        "routeId": "5c90f854d99e27e20d000001",
        "schedule": "3cc14389-fd86-49e5-b515-6c5e41d6810e",
        "to": "B (testB)"
      }
    ]
  },
  "event": "manifest.dispatch.reporting.created",
  "id": "4b314432-7740-4280-b673-3cfe9dcae68f",
  "livemode": false
}