# UpdateShipmentsExport

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /services/api/rest/UpdateShipmentsExport:
    post:
      summary: UpdateShipmentsExport
      deprecated: false
      description: >
        Used for marking shipments and their invoices as Exported.


        Error messages provided in the Errors object will be added to the
        shipment as Customer Provided note. 
      tags:
        - Version 2/Additional Offerings/Updating
      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
            - application/xml
          schema:
            type: array
            items:
              type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateShipmentExportRequest'
            example:
              AuthenticationData:
                Username: username
                Password: password
                ClientRefNum: ''
              Success:
                - LoadId: 3124442
                - LoadId: -58356682
                - LoadId: 80889175
              Errors:
                - LoadId: -75669776
                  message: >-
                    Veniam dolorem facere eveniet occaecati quo quo unde quos
                    dicta. Dicta accusamus assumenda occaecati omnis saepe
                    totam..
                - LoadId: -21322974
                  message: >-
                    Magnam sint officia assumenda asperiores quod itaque. In
                    exercitationem vitae quidem aliquam facere eos eius.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateShipmentExportResponse'
              example:
                ProcessedLoadIds:
                  - 16128483
                InvalidLoadIds:
                  - 64785449
                Errors:
                  - ''
                Success: true
          headers: {}
          x-apidog-name: UpdateShipmentsExport
      security: []
      x-apidog-folder: Version 2/Additional Offerings/Updating
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/668040/apis/api-10126309-run
components:
  schemas:
    UpdateShipmentExportRequest:
      type: object
      properties:
        AuthenticationData:
          $ref: '#/components/schemas/Authentication%20Data'
          description: Banyan Credentials
        Success:
          type: array
          items:
            type: object
            properties:
              LoadId:
                type: integer
                title: ''
                description: Banyan's primary Shipment Identifier
            x-apidog-orders:
              - LoadId
            x-apidog-ignore-properties: []
          description: List of load Ids
          maxItems: 500
        Errors:
          type: array
          items:
            type: object
            properties:
              LoadId:
                type: integer
                title: ''
                description: Banyan's primary Shipment Identifier
              message:
                type: string
                description: 'Error message to be added as a note. '
            x-apidog-orders:
              - LoadId
              - message
            x-apidog-ignore-properties: []
          description: List of load Ids and error messages
          maxItems: 500
      required:
        - AuthenticationData
        - Success
        - Errors
      x-apidog-orders:
        - AuthenticationData
        - Success
        - Errors
      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: ''
    UpdateShipmentExportResponse:
      type: object
      properties:
        ProcessedLoadIds:
          type: array
          items:
            type: integer
          description: The Load Ids that were successfully processed.
        InvalidLoadIds:
          type: array
          items:
            type: integer
          description: The Load Ids that were not able to be processed.
        Errors:
          type: array
          items:
            type: string
          description: A list containing any errors that occurred
        Success:
          type: boolean
          description: Whether request was successful
      required:
        - ProcessedLoadIds
        - InvalidLoadIds
        - Errors
        - Success
      x-apidog-orders:
        - ProcessedLoadIds
        - InvalidLoadIds
        - Errors
        - Success
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://ws.integration.banyantechnology.com
    description: Integration Env
security: []

```
