# BookLoadRequest

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    BookLoadRequest:
      type: object
      properties:
        AuthenticationData:
          $ref: '#/components/schemas/Authentication%20Data'
          description: Banyan Credentials
        PickupDateTime:
          type: string
          description: Date & Time to schedule the pickup
          format: date-time
        ReturnLatestLoadData:
          type: boolean
          description: To return the latest shipment data that exists in Banyan
        EmailBOL:
          type: boolean
          description: To email the BOL of the shipment
        EmailAddress:
          type: string
          description: Required when EmailBOL is used
        DispatchRequest:
          $ref: '#/components/schemas/DispatchRequest'
          description: Request to submit the dispatch
        LoadId:
          type: integer
          description: Banyan's primary shipment identifier
        QuoteId:
          type: integer
          description: Banyan's primary Quote Identifier
        ManifestId:
          type: string
          description: To update the shipment's manifestID (Pro number)
          nullable: true
        BOLNumber:
          type: string
          description: To update the shipment's BOL number
          nullable: true
        CustomerCharge:
          type: number
          description: Quote's customer charge
          format: float
          nullable: true
      required:
        - AuthenticationData
        - LoadId
        - QuoteId
        - PickupDateTime
        - ReturnLatestLoadData
        - EmailBOL
        - DispatchRequest
      x-apidog-orders:
        - AuthenticationData
        - LoadId
        - QuoteId
        - PickupDateTime
        - ManifestId
        - BOLNumber
        - CustomerCharge
        - ReturnLatestLoadData
        - EmailBOL
        - EmailAddress
        - DispatchRequest
      x-apidog-folder: ''
    DispatchRequest:
      type: object
      properties:
        DispatchLoad:
          type: boolean
          description: Move the shipment into dispatch status
        DispatchOverride:
          type: boolean
          description: >-
            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:
          type: boolean
          description: When true, a dispatch request will be sent to the carrier.
        ProNumber:
          type: string
          description: Update the pro number on the shipment
        ActualCarrierName:
          type: string
          description: Carrier name of the requested quote
      required:
        - DispatchLoad
        - DispatchOverride
        - SubmitPickup
      x-apidog-orders:
        - DispatchLoad
        - DispatchOverride
        - SubmitPickup
        - ProNumber
        - ActualCarrierName
      x-apidog-folder: ''
    Authentication Data:
      type: object
      properties:
        Username:
          type: string
          description: Banyan Username
          faker: username
        Password:
          type: string
          description: Banyan Password
          faker: password
        ClientRefNum:
          type: string
          description: Client Reference Number - Used during multiple client integrations
          nullable: true
      required:
        - Username
        - Password
      x-apidog-orders:
        - Username
        - Password
        - ClientRefNum
      description: Banyan Credentials
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
