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

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": {}
      }
    ],
    "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,
    "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,
    "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
}