Banyan Technology LIVE Connect™
  1. Booking/Dispatching
Banyan Technology LIVE Connect™
  • Version 3
    • Authentication
      • Retrieve a token
    • Shipments
      • Creating
        • Create a Full Shipment
        • Create an EZ Rate Shipment
      • Updating
        • Add Document(s) to a Shipment
        • Update a Shipment
        • Adds one or more Reference Numbers to a Shipment
        • Mark as Exported
      • Retrieving
        • Get a Shipment
        • Get multiple Shipments
        • Get Quotes
        • Get Reference Numbers for a Shipment
        • Get documents for the specified shipment.
      • Booking
        • Book a Shipment
        • Unbooks the awarded quote on the specified load.
      • Canceling
        • Cancels a shipment.
    • Invoice
      • Get multiple invoices
      • Mark as Exported
    • Tracking
      • Get tracking statuses
      • Mark as exported.
    • StaticData
      • Accessorials
      • Document Types
      • Equipment Types
      • Package Types
      • Limited Access Types
      • Size UOMs
      • Weight UOMs
      • Pay Types
      • Ship Types
      • Countries
      • Statuses
      • Service Modes
  • Version 2
    • Recommended Workflow
      • Rating
        • ImportForQuote
        • ImportForQuote_Sync
        • GetQuotes
      • Booking/Dispatching
        • BookLoad
          POST
      • Tracking
        • GetTrackingStatuses
      • Documents
        • GetDocuments
      • Invoices
        • GetInvoices
        • GetInvoicesWithLoadDetails
    • Additional Offerings
      • Cancelling
        • Cancel a Load
      • Updating
        • UpdateLoad
        • UpdateLoadStatus
        • UpdateShipmentsExport
      • Importing
        • PendingImport
        • ImportForBook
      • Manual Quotes
        • AddManualQuote
      • EZ Rates
        • EzRate
        • EzRate_Sync
      • Waterfall Tendering
        • StartWaterfallTendering
        • CancelWaterfallTendering
      • Unbooking
        • UnBookLoad
      • Additional Dispatching
        • DispatchLoad
      • Load Details
        • GetLoadDetails
        • GetNotes
      • Additional Tracking
        • GetTrackingByLoad
      • Other
        • Normalized Charge Codes
      • SOAP
    • Changelog
  • Exports and Webhooks
    • Standard Load Export - v1
    • Standard Load Export - v2
    • Standard Load Export - v3
    • Push Tracking
  1. Booking/Dispatching

BookLoad

POST
/services/api/rest/BookLoad
This function will book a quote that belongs to the requested shipment. Functionality exists to also dispatch the shipment.
Booking a quote only awards a quote in Banyan, and no communication is done with the given carrier. When dispatching the shipment, the communication is controlled by the SubmitPickup bit.
Additionally, the quote ID is required for a successful response. You obtain this via the GetQuotes call.

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
Banyan Credentials
Username
string 
required
Banyan Username
Password
string 
required
Banyan Password
ClientRefNum
string  | null 
optional
Client Reference Number - Used during multiple client integrations
LoadId
integer 
required
Banyan's primary shipment identifier
QuoteId
integer 
required
Banyan's primary Quote Identifier
PickupDateTime
string <date-time>
required
Date & Time to schedule the pickup
ManifestId
string  | null 
optional
To update the shipment's manifestID (Pro number)
BOLNumber
string  | null 
optional
To update the shipment's BOL number
CustomerCharge
number <float> | null 
optional
Quote's customer charge
ReturnLatestLoadData
boolean 
required
To return the latest shipment data that exists in Banyan
EmailBOL
boolean 
required
To email the BOL of the shipment
EmailAddress
string 
optional
Required when EmailBOL is used
DispatchRequest
object (DispatchRequest) 
required
Request to submit the dispatch
DispatchLoad
boolean 
required
Move the shipment into dispatch status
DispatchOverride
boolean 
required
If dispatch fails with carrier, attempt the follow in order till success: - Attempt EDI 204 (Load Tender) - Attempt email to carrier - Move load into dispatched status, return note
SubmitPickup
boolean 
required
When true, a dispatch request will be sent to the carrier.
ProNumber
string 
optional
Update the pro number on the shipment
ActualCarrierName
string 
optional
Carrier name of the requested quote
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
Success of booking of the requested manual quote
Error
object (ErrorObject) 
optional
Error message supplied when request fails
Message
string 
required
Request
object 
required
Full shipment details
AuthenticationData
object (Authentication Data) 
required
Banyan Credentials
LoadInfo
object (Loadinfo) 
required
Shipment Identifiers
BillTo
object (BillTo) 
required
Billing Information
RateServices
array[object (RateServices) {11}] 
required
Shipment Service(s)
Shipper
object (Shipper) 
required
Shipper Information
Consignee
object (Consignee) 
required
Consignee Information
PackageInfo
object (PackageInfo) 
required
Package Information
Products
array[object (Product) {24}] 
required
Shipment Product(s)
ShipperAccessorials
object (ShipperAccessorials) 
required
Shipper Accessorials
ConsigneeAccessorials
object (ConsigneeAccessorials) 
required
Consignee Accessorials
LoadAccessorials
object (LoadAccessorials) 
required
Load Accessorials
Return Location
object (ReturnLocation) 
optional
UserDefined
array[object (UserDefined) {2}] 
optional
Shipment user defined fields
ReferenceField
array[object (ReferenceField) {4}] 
optional
Shipment reference fields
InsuranceInfo
object (InsuranceInfo) 
optional
Shipment Insurance
DispatchResponse
object (DispatchResponse) 
required
Response of the dispatch request (supplied when dispatching is requested)
LoadId
integer 
required
Banyan's primary Shipment Identifier
Success
boolean 
required
Success of the dispatch request
PickupNumber
string 
optional
Shipment's pickup number
ProNumber
string 
optional
Shipment's pro number
UserMessage
string 
optional
Carrier message
BOLLink
string 
optional
Link to the shipment's BOL
Errors
array[string]
required
List of the errors returned during the attempted dispatch
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
Previous
GetQuotes
Next
GetTrackingStatuses
Built with