HK

Cargo Operations

HKIA Lite Pre-Declaration
Gateway connected

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.

↗Declaration Details

Submit #415, then retrieve the declaration, RCL, and flight departure.

No shipment is loaded. Open Air Shipments and click a row to fill this page.
Basic information
ULD / Loose cargo
Cargo
MAWBDESTFlightPiecesWeightVolumeMode
No cargo loaded. Select an air shipment first.
Received payload elements
Validation
Waiting for an air shipment
Declaration Details stays empty until you click a row on Air Shipments.

Diagnostics

Select a shipment row to load its HKIA response and gateway diagnostics.

HKIA Response Payload
No response loaded.

#415 submission + #411 RCL responses appear here.

Error / System Diagnostics
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"}