openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_DBCCWAITSTATS_MSS:
    post:
      tags:
      - SFMSS_PERF
      summary: retrieve data from dbcc sqlperf(waitstats)
      operationId: /rfc/GET_DBCCWAITSTATS_MSS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                WAITSTATS:
                  type: array
                  items:
                    type: object
                    properties:
                      WAITTYPE:
                        type: string
                        maxLength: 64
                        description: wait type
                      REQUESTS:
                        type: integer
                        format: int64
                        description: number of requests
                      WAITTIME:
                        type: integer
                        format: int64
                        description: total wait time
                      SIGNALWAITTIME:
                        type: integer
                        format: int64
                        description: total signal wait time
                      WTPERREQ:
                        type: integer
                        format: int64
                        description: time per request
                      SWTPERREQ:
                        type: integer
                        format: int64
                        description: signal wait time per request
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WAITSTATS:
                    type: array
                    items:
                      type: object
                      properties:
                        WAITTYPE:
                          type: string
                          maxLength: 64
                          description: wait type
                        REQUESTS:
                          type: integer
                          format: int64
                          description: number of requests
                        WAITTIME:
                          type: integer
                          format: int64
                          description: total wait time
                        SIGNALWAITTIME:
                          type: integer
                          format: int64
                          description: total signal wait time
                        WTPERREQ:
                          type: integer
                          format: int64
                          description: time per request
                        SWTPERREQ:
                          type: integer
                          format: int64
                          description: signal wait time per request
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
