With this API you will get the current status of your booking. Begoma have nine different status. For some of our statuses we have a corresponding United Nations Economic Commission for Europe status code:

https://service.unece.org/trade/untdid/d98a/uncl/uncl9011.htm

StatusMeaningUNTDID
1 Registered: Order created, Begoma ID received6 Booked
2Confirmed: Begoma have confirmed the order. The transport will be executed.
3Booked: Begoma has planned your order.
4Load carrier assigned: A load carrier has been assigned to the order.
5At loading place: We are at the loading place and ready to start loading1 Arrived
6Loading confirmed: Your order is loaded on the load carrier48 Loaded
7On track: Your order is on its way to the unloading place and delivery will be according to plan.
ETA and current location are available.
31 En route
8Delayed: Your order is on its way to the unloading place, but unfortunatly we are delayed according to the plan.
ETA and current location are available.
20 Delayed
9At unloading place: We are at the unloading place and ready to be unloaded.1 Arrived
10Unloading confirmed: We have unloaded your order. 22 Delivery completed

Request

FieldComment
CustomerCardIdMandatory. Your unique CustomerCardId
At least one of below
CustomerBookingIdYour internal booking ID
BegomaIdBegomas unique booking ID
LoadingReferenceLoading reference
UnloadingReferenceUnloading reference
InvoiceReferenceInvoice reference

{
  "booking": {
    "customerBookingId": "string",
    "customerCardId": "string",
    "loadingReference": "string",
    "unloadingReference": "string",
    "invoiceReference": "string"

  }
}

Response

{
  "booking": {
    "customerBookingId": "string",
    "begomaId": 0,
    "customerCardId": "string",
    "status": "string",
    "untdid": "string",
    "locations": [
      {
        "locationType": 1,
        "locationName": "string",
        "streetAddress": "string",
        "city": "string",
        "countryCode": "string",
        "zipcode": "string",
        "planningDateUTC": "string",
        "etaDateUTC": "string",
        "actualDateUTC": "string",
        "deliveryStatus": "string"
      }
    ],
    "references": {
      "loadingReference": "string",
      "unloadingReference": "string",
      "invoiceReference": "string"
    },
    "vehiclePosition": {
      "timestamp": "2021-11-06T08:44:31.762Z",
      "truckNumber": "string",
      "position": {
        "lat": 0,
        "lng": 0
      },
      "speed": 0,
      "heading": 0
    }
  }
}