Export Booking Enquiry
export_booking_enquiryExport booking status at a named APM Terminals facility: receiving window, cargo cut-off, vessel ETD, container counts received/preadvised/VGM-received, and per-container readiness for load, sourced directly from the terminal operating system. Look up by one or more booking reference numbers at one terminal. BYO-key only: this product is billed per call by APM Terminals, so it requires your own API key (OAuth2 client credentials), see _apiKey. Pipeworx's shared key does not cover it.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset_id": "205327590,CTR0201633",
"facility_code": "CRPMN"
},
"name": "export_booking_enquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | OAuth2 credentials as "<consumer_key>:<consumer_secret>" from a free APM Terminals API Store developer account (https://developer.apmterminals.com/), sign up, accept the free Data Services Plan, register an App to get a Consumer Key/Secret. Without this the tool refuses rather than guessing. | |
| asset_id | Yes | One or more booking reference numbers, comma-separated, e.g. "205327590,CTR0201633". | |
| facility_code | Yes | The terminal's UN/LOCODE, e.g. "USLAX" (Los Angeles), "NLMSV" (Maasvlakte II, Rotterdam), "ESALG" (Algeciras), "ESBCN" (Barcelona), "USMOB" (Mobile), "USNWK" (Port Elizabeth), "USMIA" (Miami), "MAPTM" (Tangier), "SEGOT" (Gothenburg), "ITVDL" (Vado), "NGAPP" (Apapa), "BHKBS" (Bahrain), "ARBUE" (Buenos Aires), "INNSA" (Mumbai), "INPPV" (Pipavav), "JOAQJ" (Aqaba), "DKAAR" (Aarhus), "GTPRQ" (Puerto Quetzal), "GEPTI" (Poti), "CRMOB" (Moin), "COBUN" (Buenaventura), "HRRJK" (Rijeka), "ESGIJ" (Gijon), "PECLL" (Callao). Only one terminal per call. Data is not available for every APM Terminals facility, the vendor rolls coverage out gradually. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Publisher and dataset. | |
| records | No | Export booking records as returned by APM Terminals, normalized. | |
| record_count | No | Number of export booking records returned. | |
| facility_code | No | APM Terminals facility code the lookup ran against. |