openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPBT_READ_MONITOR_ENTRIES:
    post:
      tags:
      - SPBT
      operationId: /rfc/SPBT_READ_MONITOR_ENTRIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                USER_NAME:
                  type: string
                  maxLength: 12
                MONI_RESOURCE_TBL:
                  type: array
                  items:
                    type: object
                    properties:
                      USEME:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      SERVERNAME:
                        type: string
                        maxLength: 20
                        description: Application server name
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: Flag that shows whether a server is active
                      MAXWPS:
                        type: string
                        maxLength: 5
                        description: R/2 table
                      FREEWPS:
                        type: string
                        maxLength: 5
                        description: R/2 table
                      TIMESTAMP:
                        type: string
                        maxLength: 15
                        description: Char 15
                      RFCFUNCMOD:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
              required:
              - USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MONI_FUNC_MODULE_INFO:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      EXCEPTTXT:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                  MONI_PROGRAM_INFO:
                    type: object
                    properties:
                      PROGRAMNAM:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      FILLER1:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ENTRYDATE:
                        type: string
                        format: date
                        description: Date of last update of monitor data in CSA
                      FILLER2:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      ENTRYTIME:
                        type: string
                        maxLength: 6
                        description: Time of last update of monitor data in CSA
                  MONI_RESOURCE_TBL:
                    type: array
                    items:
                      type: object
                      properties:
                        USEME:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        SERVERNAME:
                          type: string
                          maxLength: 20
                          description: Application server name
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Flag that shows whether a server is active
                        MAXWPS:
                          type: string
                          maxLength: 5
                          description: R/2 table
                        FREEWPS:
                          type: string
                          maxLength: 5
                          description: R/2 table
                        TIMESTAMP:
                          type: string
                          maxLength: 15
                          description: Char 15
                        RFCFUNCMOD:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
