- Version 3
- Authentication
- Shipments
- Invoice
- Tracking
- StaticData
- Authentication
- Version 2
- Recommended Workflow
- Rating
- Booking/Dispatching
- Tracking
- Documents
- Invoices
- Additional Offerings
- Changelog
- Exports and Webhooks
BookLoad
POST
/services/api/rest/BookLoad
Request
Header Params
Content-Type
string
required
Example:
application/json
Accept
string
optional
Example:
application/json
Body Params application/json
AuthenticationData
object (Authentication Data)
required
Username
string
required
Password
string
required
ClientRefNum
string | null
optional
LoadId
integer
required
QuoteId
integer
required
PickupDateTime
string <date-time>
required
ManifestId
string | null
optional
BOLNumber
string | null
optional
CustomerCharge
number <float> | null
optional
ReturnLatestLoadData
boolean
required
EmailBOL
boolean
required
EmailAddress
string
optional
DispatchRequest
object (DispatchRequest)
required
DispatchLoad
boolean
required
DispatchOverride
boolean
required
SubmitPickup
boolean
required
ProNumber
string
optional
ActualCarrierName
string
optional
Example
{
"AuthenticationData": {
"Username": "{{username}}",
"Password": "{{password}}",
"ClientRefNum": "{{clientRefNum}}"
},
"LoadID": "62339134",
"QuoteID": "486574985",
"PickupDateTime": "04/17/2024 12:00",
"ReturnLatestLoadData": "true",
"DispatchRequest": {
"DispatchLoad": "true",
"DispatchOverride": "false",
"SubmitPickup": "false"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ws.integration.banyantechnology.com/services/api/rest/BookLoad' \
--header 'Content-Type: application/json' \
--data-raw '{
"AuthenticationData":{
"Username":"{{username}}",
"Password":"{{password}}",
"ClientRefNum":"{{clientRefNum}}"
},
"LoadID":"62339134",
"QuoteID":"486574985",
"PickupDateTime":"04/17/2024 12:00",
"ReturnLatestLoadData":"true",
"DispatchRequest":{
"DispatchLoad":"true",
"DispatchOverride":"false",
"SubmitPickup":"false"
}
}'
Responses
🟢200BookLoad - 200 OK
application/json
Body
Success
boolean
required
Error
object (ErrorObject)
optional
Message
string
required
Request
object
required
AuthenticationData
object (Authentication Data)
required
LoadInfo
object (Loadinfo)
required
BillTo
object (BillTo)
required
RateServices
array[object (RateServices) {11}]
required
Shipper
object (Shipper)
required
Consignee
object (Consignee)
required
PackageInfo
object (PackageInfo)
required
Products
array[object (Product) {24}]
required
ShipperAccessorials
object (ShipperAccessorials)
required
ConsigneeAccessorials
object (ConsigneeAccessorials)
required
LoadAccessorials
object (LoadAccessorials)
required
Return Location
object (ReturnLocation)
optional
UserDefined
array[object (UserDefined) {2}]
optional
ReferenceField
array[object (ReferenceField) {4}]
optional
InsuranceInfo
object (InsuranceInfo)
optional
DispatchResponse
object (DispatchResponse)
required
LoadId
integer
required
Success
boolean
required
PickupNumber
string
optional
ProNumber
string
optional
UserMessage
string
optional
BOLLink
string
optional
Errors
array[string]
required
Example
{
"Success": true,
"Error": null,
"request": {
"AuthenticationData": {
"Username": "_",
"Password": "_",
"ClientRefNum": "_"
},
"DebugMode": false,
"Loadinfo": {
"LoadID": 62339134,
"ManifestID": "624500165",
"BOLNumber": "BWS2406700014",
"CustomerPO": "Cust PO Number",
"InvoiceID": "",
"BillingID": "",
"IncoTermID": null,
"UltimateDestinationCountryCode": "",
"PickupNumber": "",
"EstimatedDeliveryDate": "2024-04-18T00:00:00",
"EstimatedPickupDate": "2024-04-17T00:00:00",
"ActualPickupDate": "2024-04-17T00:00:00",
"ActualDeliveryDate": "2024-04-18T00:00:00"
},
"BillTo": {
"Name": "1-Landstar",
"Note": "Corporate",
"ShipType": 0,
"PayType": 1,
"UseDefaultBillTo": false,
"AddressInfo": {
"Address1": "13410 Sutton Park Drive S.",
"Address2": "ATTN: LTL Payables",
"City": "Jacksonville",
"CountryName": "United States",
"CountryCode": "USA",
"State": "FL",
"Zipcode": "32224",
"LocationName": "Landstar Global Logistics"
},
"ContactInfo": {
"FirstName": "",
"LastName": "",
"ContactName": "",
"Phone": "800-840-1378",
"PhoneExt": "",
"Fax": "",
"Email": "ltlbus@landstar.com"
},
"UseDefaultShipType": false,
"UseDefaultPayType": false
},
"InsuranceInfo": null,
"RateServices": [
{
"ServiceCode": 1,
"ShippingQty": 1,
"PackageType": 29,
"EquipmentType": 5,
"AdditionalWeight": 50,
"SpecialInstructions": "Do not break",
"Length": 40,
"Width": 48,
"Height": 40,
"WeightUom": 1,
"SizeUom": 1
}
],
"Shipper": {
"ContactInfo": {
"FirstName": "Jon",
"LastName": "Snow",
"ContactName": "Jon Snow",
"Phone": "867-5309",
"PhoneExt": "",
"Fax": "",
"Email": ""
},
"AddressInfo": {
"Address1": "123245 Test St.",
"Address2": "",
"City": "North Ridgeville",
"CountryName": "United States",
"CountryCode": "USA",
"State": "OH",
"Zipcode": "44039",
"LocationName": "Test"
},
"CompanyName": "Test",
"Note": "",
"CompanyID": "",
"LocationName": null,
"VendorID": "",
"DCRefNum": null,
"Dock": {
"Name": "Main Dock",
"Note": "",
"OpenTime": "2024-04-17T08:00:00",
"ShipmentDateTime": "2024-04-17T12:00:00",
"CloseTime": "2024-04-17T17:00:00",
"ConfirmationNumber": "",
"FCFS": false
}
},
"Consignee": {
"ContactInfo": {
"FirstName": "Al",
"LastName": "Bundy",
"ContactName": "Al Bundy",
"Phone": "",
"PhoneExt": "",
"Fax": "",
"Email": ""
},
"AddressInfo": {
"Address1": "9764 Jeopardy Lane",
"Address2": "",
"City": "Chicago",
"CountryName": "United States",
"CountryCode": "USA",
"State": "IL",
"Zipcode": "60015",
"LocationName": "The Bundy house"
},
"CompanyName": "Test1 comp name",
"Note": "",
"CompanyID": "",
"LocationName": null,
"VendorID": "",
"DCRefNum": null,
"Dock": {
"Name": "Main Dock",
"Note": "",
"OpenTime": "2024-04-18T08:00:00",
"ShipmentDateTime": "2024-04-18T12:00:00",
"CloseTime": "2024-04-18T17:00:00",
"ConfirmationNumber": "",
"FCFS": false
}
},
"ReturnLocation": null,
"PackageInfo": {
"CODAmount": 0,
"DeclaredLiability": 0,
"RouteNumber": ""
},
"Products": [
{
"Quantity": 12,
"PackageType": 7,
"Weight": 600,
"Class": 9,
"NMFC": "2070",
"SKU": "Sku-12345",
"IsHazmat": false,
"HazmatPhoneNumber": "",
"HazmatPhoneExt": "",
"Description": "Women's shoes",
"Length": 12,
"Width": 10,
"Height": 12,
"UOM": 0,
"SortOrder": 1,
"ReferenceNumber": "",
"ParcelOptions": {
"DeliveryConfirmation": 0,
"COD": 0,
"CODAmount": 0,
"AdditionalHandling": false,
"LargePackage": false,
"DeclaredValue": 0,
"UnitValue": null,
"UnitWeight": null,
"UnitType": null
},
"UnNumber": "",
"HazMatShippingName": "",
"HazMatPkgGroup": "",
"HazMatClass": "",
"InternationalOptions": {
"ScheduleBCode": null,
"HarmonizedSystemCode": null,
"ECCN": null,
"UnitOriginCountryCode": null
},
"HazMatContact": "",
"HazMatPoison": false
}
],
"ShipperAccessorials": {
"AppointmentRequired": false,
"InsidePickup": false,
"SortSegregate": false,
"PalletJack": false,
"ResidentialPickup": false,
"LiftgatePickup": false,
"MarkingTagging": false,
"TradeShowPickup": false,
"NYCMetro": false,
"NonBusinessHourPickup": false,
"LimitedAccessType": null
},
"ConsigneeAccessorials": {
"AppointmentRequired": false,
"InsideDelivery": false,
"SortSegregate": false,
"PalletJack": false,
"ResidentialDelivery": false,
"LiftgateDelivery": false,
"MarkingTagging": false,
"TradeShowDelivery": false,
"NYCMetro": false,
"DeliveryNotification": false,
"TwoHourSpecialDelivery": false,
"NonBusinessHourDelivery": false,
"LimitedAccessType": null
},
"LoadAccessorials": {
"Guaranteed": false,
"TimeDefinite": false,
"Expedited": false,
"HolidayPickup": false,
"HolidayDelivery": false,
"WeightDetermination": false,
"BlindShipment": false,
"BlanketService": false,
"ProtectFromFreezing": false,
"SingleShipment": false,
"CustomsInBond": false,
"OverDimension": false,
"Stackable": false,
"Turnkey": false,
"FoodGradeProducts": false,
"TSA": false,
"Bulkhead": false,
"SignatureRequired": false,
"BlanketServiceChilled": false,
"BlanketServiceFrozen": false,
"SaturdayDelivery": false,
"SecondMan": false,
"ReturnReceipt": false,
"ShipmentHold": false,
"ProactiveResponse": false,
"ShipperRelease": false,
"WhiteGlove": false,
"RestrictedDelivery": false,
"TankerEndorsedDriverRequired": false
},
"UserDefined": [],
"ReferenceField": []
},
"DispatchResponse": {
"LoadID": 62339134,
"Success": true,
"PickupNumber": null,
"CarrierName": "Banyan Test Carrier",
"QuoteNumber": "12037974",
"EstimatedDeliveryDate": "2024-04-18T12:00:00",
"ProNumber": "624500165",
"UserMessage": null,
"BOLLink": null,
"Errors": null,
"Warnings": null
},
"ProNumber": null
}
🟠400Bad Request
Modified at 2024-09-16 11:42:17