openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_SQLPERFCACHE_MSS:
    post:
      tags:
      - SFMSS_PERF
      summary: retrieve data from the sap_perfdb from the cache object
      operationId: /rfc/GET_SQLPERFCACHE_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
                CACHEINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CACHETYPE:
                        type: string
                        maxLength: 40
                        description: Type of object in SQL Server procedure cache.
                      HITRATIO:
                        type: integer
                        format: int64
                        description: Procedure cache hit ratio as percentage.
                      OBJECTCNT:
                        type: integer
                        format: int64
                        description: Number of objects stored in the procedure cache.
                      OBJPAGES:
                        type: integer
                        format: int64
                        description: Number of pages used by this object type in the cache.
                      USECOUNTS:
                        type: integer
                        format: int64
                        description: Number of times an object of this type has been used.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CACHEINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CACHETYPE:
                          type: string
                          maxLength: 40
                          description: Type of object in SQL Server procedure cache.
                        HITRATIO:
                          type: integer
                          format: int64
                          description: Procedure cache hit ratio as percentage.
                        OBJECTCNT:
                          type: integer
                          format: int64
                          description: Number of objects stored in the procedure cache.
                        OBJPAGES:
                          type: integer
                          format: int64
                          description: Number of pages used by this object type in the cache.
                        USECOUNTS:
                          type: integer
                          format: int64
                          description: Number of times an object of this type has been used.
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
