openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_SQLPERF_DOWNLOAD:
    post:
      tags:
      - STUL
      summary: SQL Server DBCC sqlperf Call
      operationId: /rfc/MSQ_SQLPERF_DOWNLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMAND:
                  type: string
                  default: sqlperf(waitstats)
                  maxLength: 256
                  description: MS SQL server table or index name
                SQLPERF:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENTTYPE:
                        type: string
                        maxLength: 32
                        description: DBCC SQLPERF Event
                      COUNTER1:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER2:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER3:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER4:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER5:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER6:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER7:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
                      COUNTER8:
                        type: integer
                        format: int64
                        description: DBCC SQLPERF counter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SQLPERF:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENTTYPE:
                          type: string
                          maxLength: 32
                          description: DBCC SQLPERF Event
                        COUNTER1:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER2:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER3:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER4:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER5:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER6:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER7:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
                        COUNTER8:
                          type: integer
                          format: int64
                          description: DBCC SQLPERF counter
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
