Process an X12 EDI 322 terminal operations message for container gate-in and gate-out events at a marine terminal

domain: x12.org · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Establish an EDI trading partner relationship with the marine terminal operator to receive 322 transactions via AS2 or SFTP
  2. Parse the W17 segment to identify the terminal, transaction type (gate-in vs. gate-out), and equipment number
  3. Extract container seal numbers and chassis identification from the W09 and W27 segments
  4. Correlate the 322 terminal event with the associated bill of lading and booking in your TMS using the container number as the join key
  5. Use gate-in confirmation to trigger drayage dispatch and gate-out events to update cargo release and demurrage free-time calculations

Known gotchas

Related routes

Subscribe to and parse X12 EDI 315 ocean shipment status messages from a carrier to track container events
x12.org · 5 steps · unrated
Send an X12 EDI 304 shipping instructions transaction to an ocean carrier to provide cargo details and cut instructions for an active booking
x12.org · 5 steps · unrated
Retrieve and parse an X12 EDI 310 ocean bill of lading transaction from a carrier's EDI endpoint
x12.org · 5 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp