Single batch - with all Assignment key-value
4 min
Single batch - with all Assignment key-value
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": "loadNumber" //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": {
"operatingCarrierScac": "Operating Carrier SCAC ID",
"truckNumber": "Truck Number as in the GPS/ELD portal",
"trailerNumber": "Trailer Number as in the GPS/ELD portal",
"deviceId": "Device Id as in the GPS/ELD portal",
"driverPhone": "Driver Phone Number with the Country Code",
"driverName": "Driver Name",
"driverLicenseNumber": "Driver Truck License Number",
"railEquipmentInitials": "4-character rail equipment prefix",
"railEquipmentNumber": "6-digit rail equipment number",
"wagonNumber": "Wagon Number",
"oceanContainer": "Ocean Containter",
"loadMode": "Mode of the load to be assigned"
}
}
]
}'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": {
"operatingCarrierScac": "Operating Carrier SCAC ID",
"truckNumber": "Truck Number as in the GPS/ELD portal",
"trailerNumber": "Trailer Number as in the GPS/ELD portal",
"deviceId": "Device Id as in the GPS/ELD portal",
"driverPhone": "Driver Phone Number with the Country Code",
"driverName": "Driver Name",
"driverLicenseNumber": "Driver Truck License Number",
"railEquipmentInitials": "4-character rail equipment prefix",
"railEquipmentNumber": "6-digit rail equipment number",
"wagonNumber": "Wagon Number",
"oceanContainer": "Ocean Containter",
"loadMode": "Mode of the load to be assigned"
}
}
]
}