openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_PREC_GET_SERVER_STATUS:
    post:
      tags:
      - RS_PREC
      operationId: /rfc/RS_PREC_GET_SERVER_STATUS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_S_STATE:
                    type: object
                    properties:
                      CURRENT_ACTIVITY:
                        type: integer
                        format: int64
                        description: 'Data Element for the Status of the Server  enumValues: 03=Stop,04=Error,02=Calculate Workbook,01=Wait'
                        enum:
                        - '03'
                        - '04'
                        - '02'
                        - '01'
                      CURRENT_INSTANCES:
                        type: integer
                        format: int32
                        description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
