export_booking_enquiry
Pack: apm-terminals · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/export_booking_enquiry for the schema, then POST the same URL with its arguments for the data.
Export 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. Requires an API key (OAuth2 client credentials) — see _apiKey.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
asset_id | string | yes | One or more booking reference numbers, comma-separated, e.g. “205327590,CTR0201633”. |
facility_code | string | yes |
Example call
Arguments
{
"asset_id": "205327590,CTR0201633",
"facility_code": "CRPMN"
}
curl
curl -X POST https://gateway.pipeworx.io/apm-terminals/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"export_booking_enquiry","arguments":{"asset_id":"205327590,CTR0201633","facility_code":"CRPMN"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('export_booking_enquiry', {
"asset_id": "205327590,CTR0201633",
"facility_code": "CRPMN"
});
Response shape
| Field | Type | Description |
|---|---|---|
facility_code | string | APM Terminals facility code the lookup ran against. |
record_count | integer | Number of export booking records returned. |
records | array | Export booking records as returned by APM Terminals, normalized. |
source | string | Publisher and dataset. |
Full JSON Schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"facility_code": {
"type": "string",
"description": "APM Terminals facility code the lookup ran against."
},
"record_count": {
"type": "integer",
"description": "Number of export booking records returned."
},
"records": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Export booking records as returned by APM Terminals, normalized."
},
"source": {
"type": "string",
"description": "Publisher and dataset."
}
}
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the apm-terminals pack
{
"mcpServers": {
"apm-terminals": {
"url": "https://gateway.pipeworx.io/apm-terminals/mcp"
}
}
}
See Getting Started for client-specific install steps.