openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_PARTITION_OVERVIEW:
    post:
      tags:
      - SDB6PMST04
      summary: 'DB6: Partition Overview'
      operationId: /rfc/DB6_PM_PARTITION_OVERVIEW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int32
                  description: what the function should do
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                IT_DB6PMPOV:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTITN:
                        type: integer
                        format: int32
                        description: partition id
                      BP_NUM:
                        type: integer
                        format: int64
                        description: number of bufferpools of each partition
                      BP_SZ:
                        type: integer
                        format: int64
                        description: Bufferpool size of ech partition
                      PL_D_LRS:
                        type: integer
                        format: int64
                        description: Logical Data Reads
                      PL_I_LRS:
                        type: integer
                        format: int64
                        description: Logical Index Reads
                      PL_D_PRS:
                        type: integer
                        format: int64
                        description: Physical Data Reads
                      PL_I_PRS:
                        type: integer
                        format: int64
                        description: Physical Index Reads
                      BP_AV_RTM:
                        type: integer
                        format: int64
                        description: Average Physical Read Time (ms)
                      BP_AV_WTM:
                        type: integer
                        format: int64
                        description: Average Physical Write Time (ms)
                      SUBMISQLST:
                        type: integer
                        format: int64
                        description: Submitted SQL Statements
                      PKG_CA_SZ:
                        type: integer
                        format: int64
                        description: Pckage Cache Size
                      PKG_CA_QAL:
                        type: integer
                        format: int64
                        description: Package Cache Quality
              required:
              - ACTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMPOV:
                    type: array
                    items:
                      type: object
                      properties:
                        PARTITN:
                          type: integer
                          format: int32
                          description: partition id
                        BP_NUM:
                          type: integer
                          format: int64
                          description: number of bufferpools of each partition
                        BP_SZ:
                          type: integer
                          format: int64
                          description: Bufferpool size of ech partition
                        PL_D_LRS:
                          type: integer
                          format: int64
                          description: Logical Data Reads
                        PL_I_LRS:
                          type: integer
                          format: int64
                          description: Logical Index Reads
                        PL_D_PRS:
                          type: integer
                          format: int64
                          description: Physical Data Reads
                        PL_I_PRS:
                          type: integer
                          format: int64
                          description: Physical Index Reads
                        BP_AV_RTM:
                          type: integer
                          format: int64
                          description: Average Physical Read Time (ms)
                        BP_AV_WTM:
                          type: integer
                          format: int64
                          description: Average Physical Write Time (ms)
                        SUBMISQLST:
                          type: integer
                          format: int64
                          description: Submitted SQL Statements
                        PKG_CA_SZ:
                          type: integer
                          format: int64
                          description: Pckage Cache Size
                        PKG_CA_QAL:
                          type: integer
                          format: int64
                          description: Package Cache Quality
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
