openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OCS_DISTRIBUTE_PAOID:
    post:
      tags:
      - OCSB
      operationId: /rfc/OCS_DISTRIBUTE_PAOID
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PAOID_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      PAOID:
                        type: string
                        maxLength: 2
                        description: Patch add-on ID (PAOID) - only IS
                      ADDONID:
                        type: string
                        maxLength: 10
                        description: Name of an Add-On Product
                      ADDONRL:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      R3RELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      PCOMMENT:
                        type: string
                        maxLength: 40
                        description: Text, 40 Characters Long
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PAOID_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        PAOID:
                          type: string
                          maxLength: 2
                          description: Patch add-on ID (PAOID) - only IS
                        ADDONID:
                          type: string
                          maxLength: 10
                          description: Name of an Add-On Product
                        ADDONRL:
                          type: string
                          maxLength: 12
                          description: Version of an "Add-On" Product
                        R3RELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        PCOMMENT:
                          type: string
                          maxLength: 40
                          description: Text, 40 Characters Long
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
