openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB_INF_WAIT_STAT:
    post:
      tags:
      - STD2
      operationId: /rfc/DB_INF_WAIT_STAT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WAITPROF:
                  type: array
                  items:
                    type: object
                    properties:
                      WAITREASON:
                        type: string
                        maxLength: 20
                        description: INFORMIX Wait Statistics Reason
                      WAITNWAIT:
                        type: integer
                        format: int32
                        description: Wait Statistics - Number of Waits
                      WAITTOTIME:
                        type: integer
                        format: int32
                        description: Wait Statistics - Total Wait Time (s)
                      WAITAVGTIM:
                        type: integer
                        format: int32
                        description: Wait Statistics - Average Wait Time (ms)
                      WAITMAXTIM:
                        type: integer
                        format: int32
                        description: Wait Statistics - Maximum Wait Time (ms)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATE_OF_STATISTICS:
                    type: string
                    format: date
                  TIME_OF_STATISTICS:
                    type: string
                    maxLength: 6
                  WAITPROF:
                    type: array
                    items:
                      type: object
                      properties:
                        WAITREASON:
                          type: string
                          maxLength: 20
                          description: INFORMIX Wait Statistics Reason
                        WAITNWAIT:
                          type: integer
                          format: int32
                          description: Wait Statistics - Number of Waits
                        WAITTOTIME:
                          type: integer
                          format: int32
                          description: Wait Statistics - Total Wait Time (s)
                        WAITAVGTIM:
                          type: integer
                          format: int32
                          description: Wait Statistics - Average Wait Time (ms)
                        WAITMAXTIM:
                          type: integer
                          format: int32
                          description: Wait Statistics - Maximum Wait Time (ms)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
