curl -i -X PUT \
https://na12.api.project44.com/api/v4/shipments/tracking \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"attributes": [
{
"name": "string",
"value": "string",
"values": [
"string"
]
}
],
"accessGroups": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"createdDateTime": "2019-08-24T14:15:22Z",
"costs": [
{
"identifiers": [
{
"type": "AIR_WAYBILL",
"value": "string"
}
],
"type": "UNKNOWN",
"totalCost": {
"amount": 0,
"currency": "USD"
},
"tier": "UNKNOWN"
}
],
"contents": [
{
"minTemperatureThreshold": 0.1,
"maxTemperatureThreshold": 0.1,
"productCategory": "UNKNOWN",
"temperatureSetPoint": 0.1
}
],
"events": [
{
"dateTime": "2019-08-24T14:15:22Z",
"description": "string",
"dateTimes": [
{
"dateTime": "2019-08-24T14:15:22Z",
"endDateTime": "2019-08-24T14:15:22Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"lastModifiedDateTime": "2019-08-24T14:15:22Z",
"source": "UNKNOWN",
"sourceIdentifiers": [
{
"type": "AIR_WAYBILL",
"value": "string"
}
],
"selected": true,
"sequence": 0,
"type": "UNKNOWN"
}
],
"details": {
"documentDetails": {
"documentType": "UNKNOWN",
"fileFormat": "UNKNOWN",
"scope": "UNKNOWN",
"url": "string",
"version": 0
},
"mobileTracking": {
"code": "UNKNOWN"
},
"ocean": {
"code": "UNKNOWN"
},
"qualityControl": {
"code": "UNKNOWN"
},
"rolloverDetails": {}
},
"estimateDateTime": "2019-08-24T14:15:22Z",
"estimateLastCalculatedDateTime": "2019-08-24T14:15:22Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"plannedDateTime": "2019-08-24T14:15:22Z",
"plannedEndDateTime": "2019-08-24T14:15:22Z",
"receivedDateTime": "2019-08-24T14:15:22Z",
"routeSegmentId": "a5aad6c5-e2d6-4a7a-8912-ea0254639352",
"stopId": "dd775241-8a00-4193-b07c-f3e4740fdc43",
"type": "UNKNOWN"
}
],
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"identifiers": [
{
"type": "AIR_WAYBILL",
"value": "string"
}
],
"lastModifiedDateTime": "2019-08-24T14:15:22Z",
"plan": {
"expectedTransportationModes": [
"AIR"
],
"exclusions": [
{}
],
"vesselTracking": {
"enabled": true,
"plannedVesselRouteSegments": [
{
"fromStopId": "257296aa-4e11-4168-b6a7-981b8b94815b",
"toStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56",
"transportationMode": "AIR",
"vesselName": "string",
"vesselImo": "string",
"vesselMmsi": "string"
}
]
}
},
"routeInfo": {
"routeSegments": [
{
"emissions": {
"cargoWeight": {
"unit": "LB",
"value": 0
},
"co2EmissionIntensity": {
"unit": "KG_PER_KM",
"value": 0
},
"distance": {
"unit": "FT",
"value": 0
},
"loadFactor": 0.1,
"totalCO2Emissions": {
"unit": "LB",
"value": 0
},
"vehicleInfo": {
"type": {
"enumValue": "UNKNOWN"
},
"weight": {
"unit": "LB",
"value": 0
}
}
},
"fromStopId": "257296aa-4e11-4168-b6a7-981b8b94815b",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"identifiers": [
{
"type": "AIR_WAYBILL",
"value": "string"
}
],
"toStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56",
"transportationMode": "AIR"
}
],
"stops": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"location": {
"address": {
"addressLines": [
"string"
],
"city": "string",
"country": "US",
"postalCode": "string",
"state": "string"
},
"coordinates": {
"latitude": 0.1,
"longitude": 0.1
},
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"identifiers": [
{
"type": "AIRPORT_IATA",
"value": "string"
}
],
"masterLocationId": "0cd3d3f1-9c58-4e0d-aa5e-52a1f3317a89",
"name": "string",
"timeZone": "string"
},
"type": "UNKNOWN"
}
]
},
"relatedShipments": [
{
"attributes": [
{
"name": "string",
"value": "string",
"values": [
"string"
]
}
],
"accessGroups": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
],
"createdDateTime": "2019-08-24T14:15:22Z",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"identifiers": [
{
"type": "AIR_WAYBILL",
"value": "string"
}
],
"lastModifiedDateTime": "2019-08-24T14:15:22Z",
"plan": {
"expectedTransportationModes": [
"AIR"
],
"exclusions": [
{}
],
"vesselTracking": {
"enabled": true,
"plannedVesselRouteSegments": [
{
"fromStopId": "257296aa-4e11-4168-b6a7-981b8b94815b",
"toStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56",
"transportationMode": "AIR",
"vesselName": "string",
"vesselImo": "string",
"vesselMmsi": "string"
}
]
}
},
"shipmentShareLink": "string"
}
],
"shipmentShareLink": "string"
}'