Air Shipments
Submitted pre-declarations read from the database (predeclarations.request_payload).
Query
Air shipments
Submit PreDeclaration
Paste a #415 JSON body, validate it, then send it to HKIA.
JSON must contain lo.shipment. HTTP 202 means HKIA accepted the request for processing, not that the CTO approved it.
Result
{"hint":"Validation and HKIA responses appear here"}
Pre-Declarations
Create, edit, submit, and remove declaration drafts.
Drafts
Create Lite Pre-Declaration (#415)
Selecting a scenario loads a spec-compliant sample. Edit the JSON as needed, then submit.
#415 is asynchronous: success returns HTTP 202 with requestId/documentId. Poll the status section for the CTO result.
Submit #415, then retrieve the declaration, RCL, and flight departure.
| MAWB | DEST | Flight | Pieces | Weight | Volume | Mode |
|---|---|---|---|---|---|---|
| No cargo loaded. Select an air shipment first. | ||||||
Diagnostics
Select a shipment row to load its HKIA response and gateway diagnostics.
No response loaded.
#415 submission + #411 RCL responses appear here.
No errors recorded.
Gateway exceptions and validation errors appear here.
Operations & Status
Retrieve, update status, or remove submitted declarations.
Retrieve & manage by RA reference ID
#404 is asynchronous (returns 202 with a requestId). #402 / #410 / #411 / #412 are synchronous.
Operation status
Post-approval workflow (#402 → #411 → #410 → #412)
Runs Retrieve → RCL → Truck Arrival → Flight Departure in the order the spec (§4.12.8) requires, showing all steps together.
Activity output
{"hint":"Responses will appear here"}