openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_DB_INF_ONSTAT_SP:
    post:
      tags:
      - STUI
      summary: Run INFORMIX tool onstat via Stored Procedure
      operationId: /rfc/S_DB_INF_ONSTAT_SP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OPTION:
                  type: string
                  maxLength: 20
                  description: onstat commandline options
                REGEN:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Date and time, Daylight savings time flag
                ONSTAT_OUT:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 120
                        description: char120
              required:
              - OPTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBHOST_NAME:
                    type: string
                    maxLength: 8
                    description: Character field of length 8
                  DBHOST_OS:
                    type: string
                    maxLength: 10
                    description: R/3 System, operating system of application server
                  INFORMIX_TITLE:
                    type: string
                    maxLength: 120
                    description: First Line of onstat Output
                  ONSTAT_OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 120
                          description: char120
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
