openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPG_GET_COMPONENT_INFO:
    post:
      tags:
      - SUGS
      operationId: /rfc/UPG_GET_COMPONENT_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ALL_INFO:
                  type: string
                  default: X
                  maxLength: 1
                IV_COMPONENT:
                  type: string
                  default: ' '
                  maxLength: 30
                IV_DST_INFO:
                  type: string
                  default: ' '
                  maxLength: 1
                IV_EXP_INFO:
                  type: string
                  default: ' '
                  maxLength: 1
                IV_SRC_INFO:
                  type: string
                  default: ' '
                  maxLength: 1
                ET_COMPINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      OLDRELEASE:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      OLDPATCHLV:
                        type: string
                        maxLength: 10
                        description: Support Package Level of a Software Component
                      EXPRELEASE:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      EXPPATCHLV:
                        type: string
                        maxLength: 10
                        description: Support Package Level of a Software Component
                      NEWRELEASE:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      NEWPATCHLV:
                        type: string
                        maxLength: 10
                        description: Support Package Level of a Software Component
                      RELCOMPCHG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_UPGRADE_ACTIVE:
                    type: string
                    maxLength: 1
                  ET_COMPINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        OLDRELEASE:
                          type: string
                          maxLength: 12
                          description: Version of an "Add-On" Product
                        OLDPATCHLV:
                          type: string
                          maxLength: 10
                          description: Support Package Level of a Software Component
                        EXPRELEASE:
                          type: string
                          maxLength: 12
                          description: Version of an "Add-On" Product
                        EXPPATCHLV:
                          type: string
                          maxLength: 10
                          description: Support Package Level of a Software Component
                        NEWRELEASE:
                          type: string
                          maxLength: 12
                          description: Version of an "Add-On" Product
                        NEWPATCHLV:
                          type: string
                          maxLength: 10
                          description: Support Package Level of a Software Component
                        RELCOMPCHG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
