Ocean status event update
4 min
POST
https://api.fourkites.com/load/update/dispatcher-api/async
curl --location 'https://api.fourkites.com/load/update/dispatcher-api/async' \
--header 'Content-Type: application/json' \
--header 'apikey: testkey' \
--data '{
"updates": [
{
"timeZone": "UTC",
"billToCode": "Shipper unique id",
"identifierKeys": [
{
"identifier": "Load reference #1",
"rawIdentifier": "Carrier format - Load reference #1",
"identifierType": "Load reference identifier type in FourKites or Carrier company" //If FourKites standard used, then only reference would be searched using given identifierType otherwise skipped
},
{
"identifier": "Load reference #2",
"rawIdentifier": "Carrier format - Load reference #2",
"identifierType": "Load reference identifier type in FourKites or Carrier company"
},
{
"identifier": "Load reference #3",
"rawIdentifier": "Carrier format - Load reference #3",
"identifierType": "Load reference identifier type in FourKites or Carrier company"
},
{
"identifier": "Load reference #4",
"rawIdentifier": "Carrier format - Load reference #4",
"identifierType": "Load reference identifier type in FourKites or Carrier company"
}
],
"assignmentUpdate": {
"oceanContainer": "oceanContainer"
},
"loadUpdate": [
{
"eventUpdate": {
"modeType": [
"ocean"
],
"oceanDataHash": {
"city": "city",
"state": "stat",
"country": "country",
"event_timezone": "UTC",
"event_source": "dispatcher_async",
"event_date_time": "event_date_time",
"ocean_container_number": "ocean_container_number",
"update_action": "update_action"
},
"vesselLocation": "vesselLocation"
}
}
]
}
]
}'Header
Content-Type | application/json |
|---|---|
apikey | testkey |
Body
{
"updates": [
{
"timeZone": "UTC",
"billToCode": "Shipper unique id",
"identifierKeys": [
{
"identifier": "Load reference #1",
"rawIdentifier": "Carrier format - Load reference #1",
"identifierType": "Load reference identifier type in FourKites or Carrier company" //If FourKites standard used, then only reference would be searched using given identifierType otherwise skipped
},
{
"identifier": "Load reference #2",
"rawIdentifier": "Carrier format - Load reference #2",
"identifierType": "Load reference identifier type in FourKites or Carrier company"
},
{
"identifier": "Load reference #3",
"rawIdentifier": "Carrier format - Load reference #3",
"identifierType": "Load reference identifier type in FourKites or Carrier company"
},
{
"identifier": "Load reference #4",
"rawIdentifier": "Carrier format - Load reference #4",
"identifierType": "Load reference identifier type in FourKites or Carrier company"
}
],
"assignmentUpdate": {
"oceanContainer": "oceanContainer"
},
"loadUpdate": [
{
"eventUpdate": {
"modeType": [
"ocean"
],
"oceanDataHash": {
"city": "city",
"state": "stat",
"country": "country",
"event_timezone": "UTC",
"event_source": "dispatcher_async",
"event_date_time": "event_date_time",
"ocean_container_number": "ocean_container_number",
"update_action": "update_action"
},
"vesselLocation": "vesselLocation"
}
}
]
}
]
}