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 · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

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

Give your agent this knowledge — and 15,600+ more routes

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

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans