# GetNotes

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /services/api/rest/GetNotes:
    post:
      summary: GetNotes
      deprecated: false
      description: >-
        Used to retrieve shipment notesUsed for retrieving information on
        shipments and invoices.
      tags:
        - Version 2/Additional Offerings/Load Details
      parameters:
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetNotesRequest'
            example:
              AuthenticationData:
                Username: ''
                Password: ''
                ClientRefNum: ''
              LoadId: 36887370
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetNotesResponse'
              example:
                Notes:
                  - Text: 'Auto Book Failure. Email Sent: True'
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 7
                  - Text: >-
                      Web Dispatch Failed: &nbsp;&nbsp;•Consignee Contact Name
                      Required &nbsp;&nbsp;•Consignee Phone Number Required
                      &nbsp;&nbsp;•Shipper Contact Name Required
                      &nbsp;&nbsp;•Shipper Phone Number Required
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 14
                  - Text: 'Dayton Freight Standard: Pickup Request Failed.'
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 7
                  - Text: >-
                      Web Dispatch Error returned: </br>Friendly Error: Shipper
                      Phone Number Required</br>Error: Shipper Phone Number
                      Required
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 7
                  - Text: >-
                      Web Dispatch Error returned: </br>Friendly Error:
                      Consignee Phone Number Required</br>Error: Consignee Phone
                      Number Required
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 7
                  - Text: >-
                      Web Dispatch Error returned: </br>Friendly Error: Shipper
                      Contact Name Required</br>Error: Shipper Contact Name
                      Required
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 7
                  - Text: >-
                      Web Dispatch Error returned: </br>Friendly Error:
                      Consignee Contact Name Required</br>Error: Consignee
                      Contact Name Required
                    User: Automation
                    DateStamp: '2021-10-28T13:43:54'
                    NoteType: 7
                  - Text: 'Overrides: - Billing'
                    User: Automation
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 7
                  - Text: >-
                      LoadID:36887370 BolNum: QuoteID:330903366 ManifestID:
                      ActualCharge:120.23 PickupDate:10/28/2021 AccessTime:00:00
                      CarrierID:7459 Web_Dispatch:True EDI_Dispatch:False
                    User: Eric Intihar
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 7
                  - Text: ''
                    User: Eric Intihar
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 22
                  - Text: Load booked with Dayton Freight Standard.
                    User: Eric Intihar
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 10
                  - Text: >-
                      <a
                      href=javascript:ShowTerminalLink('7459','36887370')>Terminal
                      Link</a>
                    User: Eric Intihar
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 19
                  - Text: Awarded quote email was not sent due to permissions.
                    User: Eric Intihar
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 7
                  - Text: >-
                      Original shipperDateTime = 10/28/2021 Original
                      consigneedatetime = 10/28/2021 New shipperDateTime =
                      10/28/2021 New consigneedatetime = 10/29/2021
                      ActualPickupDate = 10/28/2021 ActualDeliverDate =
                      10/29/2021
                    User: Automation
                    DateStamp: '2021-10-28T13:43:11'
                    NoteType: 7
                  - Text: >-
                      Override for 6629252 - Dayton Freight Standard<br />-
                      Billing
                    User: Automation
                    DateStamp: '2021-10-28T13:42:16'
                    NoteType: 7
                  - Text: Load Created
                    User: Eric Intihar
                    DateStamp: '2021-10-28T13:41:31'
                    NoteType: 10
                  - Text: 'Original BOLID: BWS2130100010'
                    User: Automation
                    DateStamp: '2021-10-28T13:41:31'
                    NoteType: 7
                Errors: []
                Success: true
          headers: {}
          x-apidog-name: GetNotes
      security: []
      x-apidog-folder: Version 2/Additional Offerings/Load Details
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126320-run
components:
  schemas:
    GetNotesRequest:
      type: object
      properties:
        AuthenticationData:
          $ref: '#/components/schemas/Authentication%20Data'
          description: Banyan Credentials
        LoadId:
          type: integer
          title: ''
          description: Banyan's primary Shipment Identifier
      required:
        - AuthenticationData
        - LoadId
      x-apidog-orders:
        - AuthenticationData
        - LoadId
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    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: ''
    GetNotesResponse:
      type: object
      properties:
        Notes:
          type: array
          items:
            $ref: '#/components/schemas/Note'
          description: Shipment & carrier notes
        Errors:
          type: array
          items:
            type: string
            description: A list containing any errors that occurred
        Success:
          type: boolean
          description: Whether request was successful
      required:
        - Notes
        - Errors
        - Success
      x-apidog-orders:
        - Notes
        - Errors
        - Success
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Note:
      type: object
      properties:
        Text:
          type: string
          description: Note text
        User:
          type: string
          description: Note creator
        DateStamp:
          type: string
          description: Note date
        NoteType:
          description: Note Type
          $ref: '#/components/schemas/Note%20Type%20Enum'
      x-apidog-orders:
        - Text
        - User
        - DateStamp
        - NoteType
      required:
        - Text
        - User
        - DateStamp
        - NoteType
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    Note Type Enum:
      type: string
      enum:
        - AccountingAdjustment
        - Email
        - Archiving
        - QuoteUpdate
        - Carrier
        - AwardedQuote
        - TechnicalNote
        - WebTracking
        - Edi
        - SystemEvent
        - Instructions
        - Public
        - BookReason
        - WebDispatch
        - QuoteRequest
        - Private
        - Contact
        - Accounting
        - TerminalUrl
        - Customer
        - DockUpdate
        - Address
        - DeleteQuote
        - Package
        - RateException
        - BillingReason
        - AdditionalService
        - ValidationQuote
        - QuoteRequestEmail
      x-apidog-enum:
        - value: AccountingAdjustment
          name: ''
          description: '1'
        - value: Email
          name: ''
          description: '2'
        - value: Archiving
          name: ''
          description: '3'
        - value: QuoteUpdate
          name: ''
          description: '4'
        - value: Carrier
          name: ''
          description: '5'
        - value: AwardedQuote
          name: ''
          description: '6'
        - value: TechnicalNote
          name: ''
          description: '7'
        - value: WebTracking
          name: ''
          description: '8'
        - value: Edi
          name: ''
          description: '9'
        - value: SystemEvent
          name: ''
          description: '10'
        - value: Instructions
          name: ''
          description: '11'
        - value: Public
          name: ''
          description: '12'
        - value: BookReason
          name: ''
          description: '13'
        - value: WebDispatch
          name: ''
          description: '14'
        - value: QuoteRequest
          name: ''
          description: '15'
        - value: Private
          name: ''
          description: '16'
        - value: Contact
          name: ''
          description: '17'
        - value: Accounting
          name: ''
          description: '18'
        - value: TerminalUrl
          name: ''
          description: '19'
        - value: Customer
          name: ''
          description: '20'
        - value: DockUpdate
          name: ''
          description: '21'
        - value: Address
          name: ''
          description: '22'
        - value: DeleteQuote
          name: ''
          description: '23'
        - value: Package
          name: ''
          description: '24'
        - value: RateException
          name: ''
          description: '27'
        - value: BillingReason
          name: ''
          description: '28'
        - value: AdditionalService
          name: ''
          description: '29'
        - value: ValidationQuote
          name: ''
          description: '30'
        - value: QuoteRequestEmail
          name: ''
          description: '31'
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
