# BanyanWebServices.Domain.Dtos.DocumentDto

## 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: ''
    BanyanWebServices.Domain.Dtos.ErrorWrapperDto:
      type: object
      properties:
        message:
          type: string
          description: The error message.
          nullable: true
      additionalProperties: false
      description: Web services 2 return error messages wrapped in a class for some reason.
      x-apidog-orders:
        - message
      x-apidog-folder: ''
    BanyanWebServices.Domain.Dtos.DocumentDto:
      type: object
      properties:
        documentType:
          $ref: '#/components/schemas/DocumentTypesEnum'
        base64Documents:
          type: array
          items:
            type: string
          description: Documents using base 64 encoding.
          nullable: true
        zplDocuments:
          type: array
          items:
            type: string
          description: Documents using ZPL encoding.
          nullable: true
        success:
          type: boolean
          description: Flag indicating whether getting documents of this type succeeded.
        error:
          $ref: '#/components/schemas/BanyanWebServices.Domain.Dtos.ErrorWrapperDto'
      additionalProperties: false
      description: The document dto.
      x-apidog-orders:
        - documentType
        - base64Documents
        - zplDocuments
        - success
        - error
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
