openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUBST_READ_SYS_ENVIRONMENT:
    post:
      tags:
      - SUGR
      summary: Reads System Environment Variables Relevant for the Upgrade
      operationId: /rfc/SUBST_READ_SYS_ENVIRONMENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_SERVER:
                  type: string
                  maxLength: 20
              required:
              - IV_SERVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_ADDONSTATE:
                    type: string
                    maxLength: 1
                  EV_ADMRC:
                    type: integer
                    format: int32
                  EV_ALSTATE:
                    type: string
                    maxLength: 16
                  EV_CURBANAME:
                    type: string
                    maxLength: 20
                  EV_FUNCRC:
                    type: integer
                    format: int32
                  EV_HOMEDIR:
                    type: string
                    maxLength: 40
                  EV_HOST:
                    type: string
                    maxLength: 40
                  EV_PFINST:
                    type: string
                    maxLength: 60
                  EV_PFSTART:
                    type: string
                    maxLength: 60
                  EV_SERVICES:
                    type: string
                    maxLength: 16
                  EV_SYSNAME:
                    type: string
                    maxLength: 3
                  EV_SYSNR:
                    type: string
                    maxLength: 2
                  EV_USERNO:
                    type: integer
                    format: int32
                  EV_WPNOBTC:
                    type: string
                    maxLength: 3
                  EV_WPNODIA:
                    type: string
                    maxLength: 3
                    description: No. of online processes
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
