Skip to main content
Back to Learning PathSession 12 — Logistics Documents & EDI

Topic 12.3 · EDI vs. APIConcept 06 of 13

12.3 · EDI vs. APIConcept 06/13
Source: P4 · p. 51

API in practice

API trong thực tế

Sample DCSA v2 tracking GET request (P4 · Page 51)· Mẫu HTTP GET tra cứu sự kiện DCSA v2 (P4 · Trang 51)
GET /dcsa/v2/events?documentReference=MAEU12345678
Authorization: Bearer <api-key>

Understand

· Giải thích khái niệm
Illustrative JSON response payload (P4 · Page 51)· Phản hồi JSON minh họa (P4 · Trang 51)
{"documentReference":"MAEU12345678",
 "status":"IN_TRANSIT",
 "events":[
  {"type":"GATE_OUT","at":"2026-09-05T08:12Z","location":"VNHPH"},
  {"type":"VESSEL_DEPARTURE","at":"2026-09-06T21:40Z","location":"VNHPH"}
 ],
 "eta":"2026-10-04T06:00Z"}

Understand

· Giải thích khái niệm