Manifest dispatch

Events

Action Event name
Create a new dispatch reporting manifest.dispatch.reporting.created

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
}