Home / Technical Reference / Transportation API Architecture
Transportation Developer Guide & Integration Patterns
Transportation API & Integration Architecture Library
An engineering reference for freight software engineers, logistics IT directors, and integration teams. Explore standard REST request/response schemas, event-driven webhook patterns, ELD telematics ingestion, and hybrid EDI-to-REST pipelines.
1. Modern Freight Integration Architecture: EDI & REST Coexistence
Enterprise logistics requires supporting both asynchronous batch B2B protocols (ANSI ASC X12 EDI) and low-latency, event-driven HTTP REST APIs. Rather than forcing shippers or motor carriers into a single standard, modern Transportation Management Systems deploy an API translation gateway that normalizes incoming loads regardless of origin.
Unified Shipment State Machine
Whether a shipment arrives via EDI 204 from a retail distribution network or via JSON REST API from a 3PL customer portal, the payload is parsed into an immutable domain entity.
2. Standard Freight Load Tender Ingestion (POST /api/v1/shipments/tender)
Allows shippers, 3PL brokers, and ERP systems (SAP, Oracle, NetSuite) to programmatically tender loads directly to the TMS. Mirrors the informational payload of an ANSI X12 204 transaction with clean JSON semantics.
| Field | Type | Requirement | Description |
|---|---|---|---|
tender_id |
String | Required | Unique shipper-assigned tender identification code (B204). |
action |
String | Required | TENDER_NEW, TENDER_UPDATE, or TENDER_CANCEL. |
stops |
Array<Stop> | Required | Ordered collection of origin, intermediate, and destination facilities. |
rate |
Object | Optional | Agreed linehaul, FSC calculation method, and accessorial commitments. |
3. Event-Driven Webhooks: Real-Time Shipment Status Updates
Instead of continuous polling, shippers and partner brokers subscribe to webhook endpoints. Whenever a driver triggers a milestone in the TMS (via ELD, CheckPoint GPS, or driver app), an HTTP POST is emitted with an HMAC SHA-256 signature.
4. Webhook Reliability: Exponential Backoff with Jitter
In freight transportation, network outages and receiving server downtime must not cause lost milestones. Exspeedite implements idempotent message delivery with exponential backoff and jitter algorithms across 5 retry attempts over a 24-hour cycle.
Related Technical Infrastructure
ANSI X12 EDI Dictionary →
Examine segment definitions for EDI 204, 214, 210, 990 and 997 transaction sets.
Freight Tech Intelligence Center →
Analysis on Samsara telematics, Sage Intacct accounting sync, and FMCSA fraud prevention.
Freight Labor Calculators →
Interactive economic calculators for manual dispatch cost and billing cycle compression.