# GetDocumentsRequest

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    DocumentTypesEnum:
      type: string
      description: Document types supported by the Get Documents endpoint.
      enum:
        - Banyan_BOL
        - Shipping_Label
        - Carrier_BOL
        - Carrier_POD
        - Carrier_Label
        - AP
        - AR
        - Carrier_Weight
        - InsuranceCertificate
      x-apidog-enum:
        - value: Banyan_BOL
          name: ''
          description: ''
        - value: Shipping_Label
          name: ''
          description: ''
        - value: Carrier_BOL
          name: ''
          description: ''
        - value: Carrier_POD
          name: ''
          description: ''
        - value: Carrier_Label
          name: ''
          description: ''
        - value: AP
          name: ''
          description: ''
        - value: AR
          name: ''
          description: ''
        - value: Carrier_Weight
          name: ''
          description: ''
        - value: InsuranceCertificate
          name: ''
          description: ''
      x-apidog-folder: ''
    GetDocumentsRequest:
      required:
        - documentTypes
      type: object
      properties:
        documentTypes:
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/DocumentTypesEnum'
          description: The requested document types.
        shippingLabelFormat:
          type: string
          description: The format to return for shipping labels.
          enum:
            - ZPL
            - EPL
            - PDF
          x-apidog:
            enumDescriptions:
              ZPL: ' '
              EPL: ' '
              PDF: ''
        labelHasDockTabs:
          type: boolean
          description: Flag indicating whether the label has dock tabs.
        convertPdfToImage:
          type: boolean
          description: >-
            Flag indicating whether pdf documents should be converted to an
            image.
        imageFormat:
          type: string
          description: If converting pdf files to image files, the format to convert to.
          enum:
            - JPG
            - PNG
          x-apidog:
            enumDescriptions:
              JPG: ''
              PNG: ''
      additionalProperties: false
      description: The get documents request.
      x-apidog-orders:
        - documentTypes
        - shippingLabelFormat
        - labelHasDockTabs
        - convertPdfToImage
        - imageFormat
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
