openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_MSSTATS_LIST1:
    post:
      tags:
      - SFMSS_PERF
      summary: MS SQL Server MSSTATS list with tabname and abapname
      operationId: /rfc/MSS_MSSTATS_LIST1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: DBCON name
                MSSTATS_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      SPNAME:
                        type: string
                        maxLength: 128
                        description: Stored procedure name
                      TABNAME:
                        type: string
                        maxLength: 128
                        description: Table name
                      ABNAME:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      ABLOCAT:
                        type: integer
                        format: int32
                        description: Offset of a Processing Control Block
                      NCALL:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS number calls'
                      TOTAL_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS total runtime'
                      AVG_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS average runtime'
                      MAX_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS maximum run time'
                      MIN_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS minimum runtime'
                      RF_TOT_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS total runtime w/ fetch'
                      RF_AVG_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS average runtime w/fetch'
                      RF_MAX_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS max runtime w/ fetch'
                      RF_MIN_MS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS Minimum runtim w/ fetch'
                      MIN_ROWS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS minimum rows returned'
                      MAX_ROWS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS maximum rows returned'
                      TOTAL_ROWS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS total rows returned'
                      AVG_ROWS:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS average rows returned'
                      PCURSOR:
                        type: string
                        maxLength: 1
                        description: 'MS SQL Server: SP Statistics MSSTATS cursor usage'
                      ROW_COUNT:
                        type: integer
                        format: int32
                        description: 'MS SQL Server: SP Statistics MSSTATS row count'
                      RF_MS:
                        type: integer
                        format: int32
                        description: The total runtime in ms of the call with the longest runtime
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MSSTATS_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        SPNAME:
                          type: string
                          maxLength: 128
                          description: Stored procedure name
                        TABNAME:
                          type: string
                          maxLength: 128
                          description: Table name
                        ABNAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        ABLOCAT:
                          type: integer
                          format: int32
                          description: Offset of a Processing Control Block
                        NCALL:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS number calls'
                        TOTAL_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS total runtime'
                        AVG_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS average runtime'
                        MAX_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS maximum run time'
                        MIN_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS minimum runtime'
                        RF_TOT_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS total runtime w/ fetch'
                        RF_AVG_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS average runtime w/fetch'
                        RF_MAX_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS max runtime w/ fetch'
                        RF_MIN_MS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS Minimum runtim w/ fetch'
                        MIN_ROWS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS minimum rows returned'
                        MAX_ROWS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS maximum rows returned'
                        TOTAL_ROWS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS total rows returned'
                        AVG_ROWS:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS average rows returned'
                        PCURSOR:
                          type: string
                          maxLength: 1
                          description: 'MS SQL Server: SP Statistics MSSTATS cursor usage'
                        ROW_COUNT:
                          type: integer
                          format: int32
                          description: 'MS SQL Server: SP Statistics MSSTATS row count'
                        RF_MS:
                          type: integer
                          format: int32
                          description: The total runtime in ms of the call with the longest runtime
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
