Skip to content

Instantly share code, notes, and snippets.

@dodeja
Created December 14, 2021 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dodeja/66082dd744ca3da1293e75cf5557a7ef to your computer and use it in GitHub Desktop.
Save dodeja/66082dd744ca3da1293e75cf5557a7ef to your computer and use it in GitHub Desktop.
ZIM Shipment Tracking payload
{
"data": {
"id": "3e406661-1f85-488e-9b17-036dc82cf3ac",
"type": "shipment",
"attributes": {
"created_at": "2021-10-17T14:56:09Z",
"ref_numbers": [
"ERGO"
],
"tags": [],
"bill_of_lading_number": "ZIMUZAP909315",
"shipping_line_scac": "ZIMU",
"shipping_line_name": "Zim American Integrated Shipping Services",
"shipping_line_short_name": "Zim Line",
"port_of_lading_locode": "CNZNG",
"port_of_lading_name": "Zhanjiang",
"port_of_discharge_locode": "USBAL",
"port_of_discharge_name": "Baltimore",
"pod_vessel_name": "GUSTAV MAERSK",
"pod_vessel_imo": "9359038",
"pod_voyage_number": "16/E",
"destination_locode": null,
"destination_name": null,
"destination_timezone": null,
"destination_ata_at": null,
"destination_eta_at": null,
"pol_etd_at": null,
"pol_atd_at": "2021-10-17T02:30:00Z",
"pol_timezone": "Asia/Shanghai",
"pod_eta_at": "2021-12-14T05:00:00Z",
"pod_ata_at": "2021-12-14T14:52:51Z",
"pod_timezone": "America/New_York",
"line_tracking_last_attempted_at": "2021-12-14T14:26:05Z",
"line_tracking_last_succeeded_at": "2021-12-14T14:54:19Z",
"line_tracking_stopped_at": null,
"line_tracking_stopped_reason": null
},
"relationships": {
"port_of_lading": {
"data": {
"id": "de8e766a-7c55-4c66-bc62-84874991d811",
"type": "port"
}
},
"port_of_discharge": {
"data": {
"id": "bac9de19-6a25-440b-a1c1-ba83ad7107a8",
"type": "port"
}
},
"pod_terminal": {
"data": {
"id": "a8a4b06d-4af1-4625-8fff-99d99576d6b8",
"type": "terminal"
}
},
"destination": {
"data": null
},
"destination_terminal": {
"data": null
},
"containers": {
"data": [
{
"id": "44f73ecf-635c-47ea-8ce1-98e974bb7e6f",
"type": "container"
},
{
"id": "e16dbb00-9b3b-4b67-b1fd-af4af6011991",
"type": "container"
},
{
"id": "89346c3d-11ed-4d06-a21d-4b700e61dc0a",
"type": "container"
},
{
"id": "8406c83c-d98d-4a15-8951-d1ccc36f72ce",
"type": "container"
}
]
}
},
"links": {
"self": "/v2/shipments/3e406661-1f85-488e-9b17-036dc82cf3ac"
}
},
"links": {
"self": "https://api.terminal49.com/v2/shipments/3e406661-1f85-488e-9b17-036dc82cf3ac?include=containers"
},
"included": [
{
"id": "44f73ecf-635c-47ea-8ce1-98e974bb7e6f",
"type": "container",
"attributes": {
"number": "TCNU2607257",
"seal_number": null,
"created_at": "2021-10-17T14:56:09Z",
"equipment_type": "dry",
"equipment_length": 40,
"equipment_height": "high_cube",
"weight_in_lbs": null,
"fees_at_pod_terminal": [],
"holds_at_pod_terminal": [],
"pickup_lfd": null,
"pickup_appointment_at": null,
"pod_full_out_chassis_number": null,
"location_at_pod_terminal": "Vessel",
"availability_known": true,
"available_for_pickup": false,
"pod_arrived_at": "2021-12-14T14:52:51Z",
"pod_discharged_at": null,
"final_destination_full_out_at": null,
"pod_full_out_at": null,
"empty_terminated_at": null
},
"relationships": {
"shipment": {
"data": {
"id": "3e406661-1f85-488e-9b17-036dc82cf3ac",
"type": "shipment"
}
},
"pod_terminal": {
"data": {
"id": "a8a4b06d-4af1-4625-8fff-99d99576d6b8",
"type": "terminal"
}
},
"transport_events": {
"data": [
{
"id": "044ef28a-c73c-4c6a-8923-6262e228ca8c",
"type": "transport_event"
},
{
"id": "a5a71014-9423-45ee-8789-05065ee9cddf",
"type": "transport_event"
},
{
"id": "742e4950-d37d-45b1-bd24-a1a5c757793f",
"type": "transport_event"
},
{
"id": "8d29014f-f5bc-4287-b455-2f27c2e68bf9",
"type": "transport_event"
},
{
"id": "a951daa3-8773-4b01-8c6f-d5e6cea5b528",
"type": "transport_event"
},
{
"id": "bb886720-63cf-45a8-a319-024559ae8c89",
"type": "transport_event"
},
{
"id": "f0374318-ce1d-4071-b794-b9b951cefc91",
"type": "transport_event"
},
{
"id": "72468f96-184f-469e-b41b-83034e490eea",
"type": "transport_event"
},
{
"id": "3fc1210f-4ae6-4b53-90a6-681d8c1f09bd",
"type": "transport_event"
}
]
},
"raw_events": {
"data": [
{
"id": "5356c37c-8d81-4026-b15a-6bc0fd8f1786",
"type": "raw_event"
},
{
"id": "7e67d3b9-1d79-4eb8-96f8-ddfd8f3a5c0e",
"type": "raw_event"
},
{
"id": "548c567d-0ec3-4c5a-9212-655e0183939d",
"type": "raw_event"
},
{
"id": "fdef3712-43b8-458d-930b-e9d3785c15ec",
"type": "raw_event"
},
{
"id": "795454c1-b9e1-4c8b-a902-bb4a849969bb",
"type": "raw_event"
},
{
"id": "5b6856b1-0cef-4b1c-9e19-33e14ef1a727",
"type": "raw_event"
},
{
"id": "0f3039d5-5242-48f3-9c8b-219e868c37b6",
"type": "raw_event"
},
{
"id": "25a74242-191a-43ae-b811-ca7238b91da0",
"type": "raw_event"
},
{
"id": "82cd5d94-285a-440f-acc3-737dace2417f",
"type": "raw_event"
},
{
"id": "19c58b40-94dc-481e-81e6-09f1770fc9cc",
"type": "raw_event"
},
{
"id": "f5ed1fa9-e97e-43b4-9464-bcbb1e966ecd",
"type": "raw_event"
},
{
"id": "3599a99f-769c-4f1f-8e31-a45a4dcaa71e",
"type": "raw_event"
}
]
}
}
},
{
"id": "e16dbb00-9b3b-4b67-b1fd-af4af6011991",
"type": "container",
"attributes": {
"number": "TEMU7241896",
"seal_number": null,
"created_at": "2021-10-17T14:56:09Z",
"equipment_type": "dry",
"equipment_length": 40,
"equipment_height": "high_cube",
"weight_in_lbs": null,
"fees_at_pod_terminal": [],
"holds_at_pod_terminal": [],
"pickup_lfd": null,
"pickup_appointment_at": null,
"pod_full_out_chassis_number": null,
"location_at_pod_terminal": "Vessel",
"availability_known": true,
"available_for_pickup": false,
"pod_arrived_at": "2021-12-14T14:52:51Z",
"pod_discharged_at": null,
"final_destination_full_out_at": null,
"pod_full_out_at": null,
"empty_terminated_at": null
},
"relationships": {
"shipment": {
"data": {
"id": "3e406661-1f85-488e-9b17-036dc82cf3ac",
"type": "shipment"
}
},
"pod_terminal": {
"data": {
"id": "a8a4b06d-4af1-4625-8fff-99d99576d6b8",
"type": "terminal"
}
},
"transport_events": {
"data": [
{
"id": "d2f2825f-4303-4b51-b9c6-c5b5f25b6129",
"type": "transport_event"
},
{
"id": "6a4b5547-972c-4eb7-87bd-fde7eed5300e",
"type": "transport_event"
},
{
"id": "794f94ab-8e9b-4740-a785-9e61f35e049a",
"type": "transport_event"
},
{
"id": "c361b90b-918c-4cdf-92bc-10baaa5e9536",
"type": "transport_event"
},
{
"id": "f7ae6c42-4bed-48dc-9495-38de7948b6e0",
"type": "transport_event"
},
{
"id": "42b44327-1b07-49ca-afad-719bc3fc500b",
"type": "transport_event"
},
{
"id": "0ffbc0a5-f6e7-411f-8303-4c61064a39d1",
"type": "transport_event"
},
{
"id": "d8d7e1a1-c7aa-423d-9cf9-86ab1cdd518b",
"type": "transport_event"
},
{
"id": "59b31c12-e7fb-4797-aa8d-74c487238358",
"type": "transport_event"
}
]
},
"raw_events": {
"data": [
{
"id": "41debc36-75f5-45fd-b320-c3300b2c9e54",
"type": "raw_event"
},
{
"id": "3f53b309-c13a-416c-8b79-af6b136d9763",
"type": "raw_event"
},
{
"id": "232007f1-be82-4ef2-ad71-cea344dbac0b",
"type": "raw_event"
},
{
"id": "a74d88bc-9596-4f3e-abe2-788e65da76ef",
"type": "raw_event"
},
{
"id": "07c62d23-d1be-4536-96e6-a12ff2fe5406",
"type": "raw_event"
},
{
"id": "54224d1b-2826-4b0e-ba70-72fef07cea57",
"type": "raw_event"
},
{
"id": "33ac6c10-3620-4ba7-a2f5-caef83acda0c",
"type": "raw_event"
},
{
"id": "04f1fdc0-4c1c-466f-adaf-cf7d6761404d",
"type": "raw_event"
},
{
"id": "8d3efeb7-a320-4fb6-89c7-78afce88948e",
"type": "raw_event"
},
{
"id": "c446d997-a9df-48dd-b2e5-c402ae8a06ae",
"type": "raw_event"
},
{
"id": "75b92e18-2941-439b-8382-5a4f8ab5b0c7",
"type": "raw_event"
},
{
"id": "a29965dd-b5d8-404e-b320-a2957329e536",
"type": "raw_event"
}
]
}
}
},
{
"id": "89346c3d-11ed-4d06-a21d-4b700e61dc0a",
"type": "container",
"attributes": {
"number": "CAIU9230897",
"seal_number": null,
"created_at": "2021-10-17T14:56:09Z",
"equipment_type": "dry",
"equipment_length": 40,
"equipment_height": "high_cube",
"weight_in_lbs": null,
"fees_at_pod_terminal": [],
"holds_at_pod_terminal": [],
"pickup_lfd": null,
"pickup_appointment_at": null,
"pod_full_out_chassis_number": null,
"location_at_pod_terminal": "Yard",
"availability_known": true,
"available_for_pickup": false,
"pod_arrived_at": "2021-12-14T14:52:51Z",
"pod_discharged_at": "2021-12-14T14:09:00Z",
"final_destination_full_out_at": null,
"pod_full_out_at": null,
"empty_terminated_at": null
},
"relationships": {
"shipment": {
"data": {
"id": "3e406661-1f85-488e-9b17-036dc82cf3ac",
"type": "shipment"
}
},
"pod_terminal": {
"data": {
"id": "a8a4b06d-4af1-4625-8fff-99d99576d6b8",
"type": "terminal"
}
},
"transport_events": {
"data": [
{
"id": "c8f32187-fe5e-4683-ba36-dcfcf0430a4d",
"type": "transport_event"
},
{
"id": "994f5066-1147-4552-8e24-32ddca974512",
"type": "transport_event"
},
{
"id": "0d21aa52-076e-4674-94df-193cc8745df0",
"type": "transport_event"
},
{
"id": "410a5bb1-dc65-4302-8a3d-631be5372b71",
"type": "transport_event"
},
{
"id": "ccd8df25-632e-40b8-bb6a-709017df1ba2",
"type": "transport_event"
},
{
"id": "d717242a-1257-4991-a176-590d133329f1",
"type": "transport_event"
},
{
"id": "ded31aba-3e3f-4cba-aef3-31ebcba40e6d",
"type": "transport_event"
},
{
"id": "49a3da76-40a7-4591-ac90-a77eb033a2bc",
"type": "transport_event"
},
{
"id": "21fd334f-b357-4561-8f02-211841884e53",
"type": "transport_event"
},
{
"id": "c9839c4a-57d4-40f1-9e20-9b73d5bc341e",
"type": "transport_event"
}
]
},
"raw_events": {
"data": [
{
"id": "335eb479-f06b-4f03-8229-22454f6a0c39",
"type": "raw_event"
},
{
"id": "48f185ad-8603-4360-a6c2-4864b5671b5f",
"type": "raw_event"
},
{
"id": "1bf10389-8ea8-41b2-bf18-77b410d207c0",
"type": "raw_event"
},
{
"id": "1933ef0e-82e3-430b-86c9-8c2dd85d25fb",
"type": "raw_event"
},
{
"id": "6a04a028-9cb8-4f81-935e-b5d04bf11889",
"type": "raw_event"
},
{
"id": "b6905d6e-bfb9-4bf4-9951-bccb946df72e",
"type": "raw_event"
},
{
"id": "591c960d-f394-4d90-8329-88a31d84ae4e",
"type": "raw_event"
},
{
"id": "ab03e273-0181-476f-99ae-1306ef9ee833",
"type": "raw_event"
},
{
"id": "25905acb-8575-4b86-b194-e9ef9219a5da",
"type": "raw_event"
},
{
"id": "057d8a8c-22a3-4200-95e4-8dd9d30818d9",
"type": "raw_event"
},
{
"id": "e315351b-0be0-4512-a7e3-a007ba80b664",
"type": "raw_event"
},
{
"id": "13238ee5-ec57-4794-be1e-1f852e8d6b1e",
"type": "raw_event"
},
{
"id": "9fc1dd92-145f-44cc-891e-cebd02bb2586",
"type": "raw_event"
},
{
"id": "d861eded-e530-4bee-b8b6-1ac3c85cc34c",
"type": "raw_event"
}
]
}
}
},
{
"id": "8406c83c-d98d-4a15-8951-d1ccc36f72ce",
"type": "container",
"attributes": {
"number": "ZCSU7218165",
"seal_number": null,
"created_at": "2021-10-17T14:56:09Z",
"equipment_type": "dry",
"equipment_length": 40,
"equipment_height": "high_cube",
"weight_in_lbs": null,
"fees_at_pod_terminal": [],
"holds_at_pod_terminal": [],
"pickup_lfd": null,
"pickup_appointment_at": null,
"pod_full_out_chassis_number": null,
"location_at_pod_terminal": "Vessel",
"availability_known": true,
"available_for_pickup": false,
"pod_arrived_at": "2021-12-14T14:52:51Z",
"pod_discharged_at": null,
"final_destination_full_out_at": null,
"pod_full_out_at": null,
"empty_terminated_at": null
},
"relationships": {
"shipment": {
"data": {
"id": "3e406661-1f85-488e-9b17-036dc82cf3ac",
"type": "shipment"
}
},
"pod_terminal": {
"data": {
"id": "a8a4b06d-4af1-4625-8fff-99d99576d6b8",
"type": "terminal"
}
},
"transport_events": {
"data": [
{
"id": "5cbf8b26-95c6-4e3f-b638-62b9c92c704c",
"type": "transport_event"
},
{
"id": "59cbaabb-6518-41f0-bb0e-2bd4ceac33f5",
"type": "transport_event"
},
{
"id": "f2f94127-548c-4a20-999a-753114ac271d",
"type": "transport_event"
},
{
"id": "2fe54930-bf93-4d02-8a90-d8e48ce240bd",
"type": "transport_event"
},
{
"id": "862694c2-8b5f-4f00-9195-38f48dc3306e",
"type": "transport_event"
},
{
"id": "76bca08d-9bc3-4f77-a353-fc9b565e8be8",
"type": "transport_event"
},
{
"id": "c5f6408e-9c10-4877-8136-9443ded39bdb",
"type": "transport_event"
},
{
"id": "474a3ed3-29ff-43ec-b8e1-5921376d4b7e",
"type": "transport_event"
},
{
"id": "defba084-eb45-4725-869f-c8f339f8df95",
"type": "transport_event"
}
]
},
"raw_events": {
"data": [
{
"id": "b77a90b0-57ef-4039-aade-a1bd3b6ed19f",
"type": "raw_event"
},
{
"id": "0744b9d5-07bc-4218-ad98-e0c85229628a",
"type": "raw_event"
},
{
"id": "cdb850a7-4234-4e1a-b4d2-85542d08570d",
"type": "raw_event"
},
{
"id": "2d00c574-77af-4d66-b6e1-f4d943f92b30",
"type": "raw_event"
},
{
"id": "10c5d340-f840-486a-9d79-b57aaa016d52",
"type": "raw_event"
},
{
"id": "930b41b4-a8d4-492d-8555-ade5f793cff9",
"type": "raw_event"
},
{
"id": "d4094012-1241-4b41-a035-089841c56f15",
"type": "raw_event"
},
{
"id": "0f15bc08-f87d-44e8-aee5-262648241c0e",
"type": "raw_event"
},
{
"id": "2700d572-aba8-48d4-8301-f4ac1d1d64c4",
"type": "raw_event"
},
{
"id": "b0ab0959-6a2e-44d8-bc78-94f90d035d0d",
"type": "raw_event"
},
{
"id": "396ec2fe-b086-4b2f-ad03-917f8b12e429",
"type": "raw_event"
},
{
"id": "7a37e5e7-ddce-478f-bb3d-e9d4c8121058",
"type": "raw_event"
}
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment