openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EPS_CONFIRM_DELIVERY:
    post:
      tags:
      - EPSC
      summary: Confirm Delivery
      operationId: /rfc/EPS_CONFIRM_DELIVERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_RECEIVER:
                  type: string
                  maxLength: 13
                TT_CONFIRM_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      EPSPCLORI:
                        type: string
                        maxLength: 13
                        description: Parcel origin
                      EPSPCLNUM:
                        type: string
                        maxLength: 7
                        description: Parcel number
                      EPSDELRC:
                        type: integer
                        format: int64
                        description: Delivery return code
              required:
              - IV_RECEIVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TT_CONFIRM_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        EPSPCLORI:
                          type: string
                          maxLength: 13
                          description: Parcel origin
                        EPSPCLNUM:
                          type: string
                          maxLength: 7
                          description: Parcel number
                        EPSDELRC:
                          type: integer
                          format: int64
                          description: Delivery return code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
