# UnBookLoad

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /services/api/rest/UnBookLoad:
    post:
      summary: UnBookLoad
      deprecated: false
      description: >-
        This function will unbook a shipment in Banyan only. 

        **This request has no communication with the carrier.**


        **This function is not to be used when the shipment has been
        dispatched.**


        This will only move a shipment back into the quoted status, for purposes
        to book another available quote related to the shipment.
      tags:
        - Version 2/Additional Offerings/Unbooking
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: false
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                AuthenticationData:
                  $ref: '#/components/schemas/Authentication%20Data'
                  description: "Banyan Credentials\t"
                LoadId:
                  type: integer
                  title: ''
                  description: Banyan's primary Shipment Identifier
              required:
                - AuthenticationData
                - LoadId
              x-apidog-orders:
                - AuthenticationData
                - LoadId
              x-apidog-ignore-properties: []
            example:
              AuthenticationData:
                Username: ''
                Password: ''
                ClientRefNum: ''
              LoadID: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  LoadId:
                    type: integer
                    title: ''
                    description: Banyan's primary Shipment Identifier
                  Success:
                    type: boolean
                    description: Success of the unbook request
                  Error:
                    $ref: '#/components/schemas/ErrorObject'
                    description: Error message supplied when request fails
                required:
                  - LoadId
                  - Success
                  - Error
                x-apidog-orders:
                  - LoadId
                  - Success
                  - Error
                x-apidog-ignore-properties: []
              example:
                LoadId: 39626987
                Success: true
                Error:
                  Message: >-
                    Sequi laborum sunt nostrum incidunt quasi quam fuga. Debitis
                    in reprehenderit illo ex cum. Debitis eaque blanditiis ea
                    tempora id ad. Sed ut deleniti esse culpa praesentium
                    possimus modi.
          headers: {}
          x-apidog-name: UnBookLoad - 200 OK
      security: []
      x-apidog-folder: Version 2/Additional Offerings/Unbooking
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126317-run
components:
  schemas:
    Authentication Data:
      type: object
      properties:
        Username:
          type: string
          description: Banyan Username
          x-apidog-mock: username
        Password:
          type: string
          description: Banyan Password
          x-apidog-mock: 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-ignore-properties: []
      x-apidog-folder: ''
    ErrorObject:
      type: object
      properties:
        Message:
          type: string
      required:
        - Message
      x-apidog-orders:
        - Message
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
