Pickup Appointment update (given stop sequence as 1)
4 min
Pickup Appointment Update
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"
}
],
"stopUpdate": {
"earliestAppointmentTime": "YYYY-MM-DDTHH:MM:SSZ",
"latestAppointmentTime": "YYYY-MM-DDTHH:MM:SSZ",
"stopSequence": 1
}
}
]
}'Header
Content-Type | application/json |
|---|---|
apikey | ESA5O67JHQ9H00UT34913N1XPICK5 |
For appointment time fields (earliestAppointmentTime, latestAppointmentTime) provide datetime values in the stop's local timezone only. UTC is not supported.
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"
}
],
"stopUpdate": {
"earliestAppointmentTime": "YYYY-MM-DDTHH:MM:SSZ",
"latestAppointmentTime": "YYYY-MM-DDTHH:MM:SSZ",
"stopSequence": 1
}
}
]
}