# Document

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    Document:
      type: object
      properties:
        DocumentType:
          $ref: '#/components/schemas/Document%20Types%20Enum'
        Base64Documents:
          type: array
          items:
            type: string
          description: >-
            List of documents returned in base 64 format Most types will only
            return one item in the list, but other types can return multiple
            items such as AR and AP
        ZPLDocuments:
          type: array
          items:
            type: string
          description: >-
            List of documents, typically shipping labels, returned in ZPL
            format. Only houses ZPL format documents, other formats will be in
            the Base64Documents section.
        Success:
          type: boolean
          description: Success related to the individual document type
        Error:
          description: Error that is related to the individual document type
          $ref: '#/components/schemas/ErrorObject'
      required:
        - DocumentType
        - Success
      x-apidog-orders:
        - DocumentType
        - Base64Documents
        - ZPLDocuments
        - Success
        - Error
      x-apidog-folder: ''
    ErrorObject:
      type: object
      properties:
        Message:
          type: string
      required:
        - Message
      x-apidog-orders:
        - Message
      x-apidog-folder: ''
    Document Types Enum:
      type: string
      enum:
        - Banyan_BOL
        - Shipping_Label
        - Carrier_BOL
        - Carrier_POD
        - Carrier_Label
        - AP
        - AR
        - Carrier_Weight
        - InsuranceCertificate
      x-apidog-enum:
        - name: ''
          value: Banyan_BOL
          description: '0'
        - name: ''
          value: Shipping_Label
          description: '1'
        - name: ''
          value: Carrier_BOL
          description: '2'
        - name: ''
          value: Carrier_POD
          description: '3'
        - name: ''
          value: Carrier_Label
          description: '4'
        - name: ''
          value: AP
          description: '5'
        - name: ''
          value: AR
          description: '6'
        - name: ''
          value: Carrier_Weight
          description: '7'
        - value: InsuranceCertificate
          name: ''
          description: '8'
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
