Setlog Booking API (0.9.0)
Download OpenAPI specification: Download
E-mail: interfaces@setlog-support.com
The Setlog API provides simple RESTful HTTP interfaces to share your logistics data with your partners
Supplier requests or cancels booking
This request is triggered by the request or cancellation of the booking by supplier in the OSCA system.
| Field Name | Field Type | Description |
|---|---|---|
| uid | string | Identifies the booking entity. In the outbound shipment messages it is expected to get back the booking uid |
| customer.uid | string | Identifies the customer for all bookings. In the outbound shipment messages it is expected to get back the customer uid |
| supplier.uid | string | Identifies the supplier for all bookings |
| warehouse.uid | string | Identifies the warehouse for all bookings |
| container.uid | string | Identifies the container within a booking. In the outbound shipment messages it is expected to get back the container uid |
Webhooks
POSTReceives Booking Request
Authorizations: apiKey
Header parameter name:
apikeyRequest Body Schema: application/json
Receives the booking request from OSCA System
array of Address | |
| booking_no | string Given booking number from the OSCA system |
| carrier | string The scac of the shipping company |
array of Container | |
| created_at | string <date-time> Creation time of the booking as defined by date-time RFC3339 |
object Partner defined fields for a booking | |
object (Partner) | |
array of Delivery | |
object (Partner) | |
| hbl_hawb | string House bill of lading/house airway bill from forwarder |
| qty_ctn | integer Quantity of cartons |
| qty_pcs | integer Quantity of pieces |
| remark | string Remark for the booking |
object (BookingStatus) | |
object (Partner) | |
object (Timetable) | |
| uid | string Unique ID of the booking. This id is crucial, if it is necessary to relate to this booking in other messages. |
| updated_at | string <date-time> Last update time of the booking as defined by date-time RFC3339 |
| version | integer Version of the booking, if exists. 0 – this is a new booking, larger than 0 – an update of an existing one (according to booking.uid) |
| vessel_airline | string Vessel name (for SEA), Airline (for AIR) |
| volume | number Volume of the booking, in cbm |
| voyage_no | string Voyage number for SEA or AIR |
object (Partner) | |
| weight | number Chargeable weight, in kg |