# GetTrackingStatuses

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /services/api/rest/GetTrackingStatuses:
    post:
      summary: GetTrackingStatuses
      deprecated: false
      description: >-
        This function will return all the tracking statuses for all the clients
        under your web service user’s super user group. Tracking statuses can
        either be gathered by Banyan’s automated tracking process or EDI 214
        process. 


        Each status will only be exported once. The carrier message returned in
        the response is directly from the carrier and is simply parsed by
        Banyan. Banyan does not make any adjustments to that message
      tags:
        - Version 2/Recommended Workflow/Tracking
      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:
              $ref: '#/components/schemas/GetTrackingStatusesRequest'
            example:
              Username: ''
              Password: ''
              ClientRefNum: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTrackingStatusesResponse'
              example:
                TrackingStatuses:
                  - LoadID: 12345678
                    BOL: '3000555567'
                    ProNumber: '207000555'
                    DateTime: null
                    Code: T1
                    CarrierMessage: 'En route to interim Bismarck, ND '
                    BanyanMessage: In Transit
                    City: Bismarck
                    State: ND
                  - LoadID: 87654321
                    BOL: '3000123456'
                    ProNumber: '207555000'
                    DateTime: null
                    Code: T2
                    CarrierMessage: 'En route to destination Lumberton, NC '
                    BanyanMessage: En Route to Delivery Location
                    City: Lumberton
                    State: NC
                Success: true
                Error: null
          headers: {}
          x-apidog-name: GetTrackingStatuses
      security: []
      x-apidog-folder: Version 2/Recommended Workflow/Tracking
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126302-run
components:
  schemas:
    GetTrackingStatusesRequest:
      type: object
      properties:
        AuthenticationData:
          $ref: '#/components/schemas/Authentication%20Data'
      x-apidog-orders:
        - AuthenticationData
      required:
        - AuthenticationData
      x-apidog-refs: {}
      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: ''
    GetTrackingStatusesResponse:
      type: object
      properties:
        TrackingStatuses:
          type: array
          items:
            type: object
            properties:
              LoadId:
                type: integer
                title: ''
                description: Banyan's primary Shipment Identifier
              BOL:
                type: string
                description: Shipment's BOL number
              ProNumber:
                type: string
                description: Shipment's pro number
              DateTime:
                type: string
                description: The tracking status's date and time (carrier supplied)
                format: date-time
              Code:
                type: string
                description: The tracking status's EDI 214 code
              CarrierMessage:
                type: string
                description: The tracking status's message (carrier supplied)
              BanyanMessage:
                type: string
                description: The tracking status's EDI 214 message.
              City:
                type: string
                description: The tracking status's current city (carrier supplied)
              State:
                type: string
                description: The tracking status's current state (carrier supplied)
            x-apidog-refs: {}
            x-apidog-orders:
              - LoadId
              - BOL
              - ProNumber
              - DateTime
              - Code
              - CarrierMessage
              - BanyanMessage
              - City
              - State
            required:
              - LoadId
              - BOL
              - Code
              - BanyanMessage
            x-apidog-ignore-properties: []
          description: A list of tracking statuses
        Success:
          type: boolean
          description: Success of the cancel request
        Error:
          type: string
          description: Error message supplied when request fails
          nullable: true
      required:
        - Success
      x-apidog-orders:
        - TrackingStatuses
        - Success
        - Error
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
