openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DELIVERY_GET_COMPONENT_STATE:
    post:
      tags:
      - SUGU
      summary: Delivers the release and the Support Package of a software component
      operationId: /rfc/DELIVERY_GET_COMPONENT_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_BUFFERED:
                  type: string
                  maxLength: 1
                  description: Flag for buffered reading
                IV_COMPNAME:
                  type: string
                  maxLength: 30
                  description: Name of the software component
              required:
              - IV_BUFFERED
              - IV_COMPNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_COMPPALV:
                    type: integer
                    format: int64
                    description: Support Package level of the software component
                  EV_COMPVERS:
                    type: string
                    maxLength: 10
                    description: Software Component Release
                  EV_PUTSTATUS:
                    type: string
                    maxLength: 1
                    description: Current upgrade status (PUTSTATUS)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
