openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_BUFFPOOLSNAP:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Get Buffer Pool Snapshot'
      operationId: /rfc/DB6_PM_BUFFPOOLSNAP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int32
                CALLERFLAG:
                  type: string
                  maxLength: 1
                  description: Who Has Called this Program
                COMPTIME:
                  type: string
                  maxLength: 14
                  description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition Number
                IT_DB6PMSB:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition Number
                      BP_NAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      CALLERFLAG:
                        type: string
                        maxLength: 1
                        description: Who Has Called this Program
                      DBMSTRTTME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PRGVERS:
                        type: string
                        maxLength: 20
                        description: Version of Program Inserted this Row
                      IN_DB_ALIA:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      DB_NAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      DB_PATH:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
                      PL_D_LRS:
                        type: integer
                        format: int64
                        description: 'pool_data_l_reads: Pool Data Logical Reads'
                      PL_D_PRS:
                        type: integer
                        format: int64
                        description: 'pool_data_p_reads: Pool Data Physical Reads'
                      PL_D_WS:
                        type: integer
                        format: int64
                        description: 'pool_data_writes: Pool Data Writes'
                      PL_I_LRS:
                        type: integer
                        format: int64
                        description: 'pool_index_l_reads: Pool Index Logical Reads'
                      PL_I_PRS:
                        type: integer
                        format: int64
                        description: 'pool_index_p_reads: Pool Index Physical Reads'
                      PL_I_WS:
                        type: integer
                        format: int64
                        description: 'pool_index_writes: Pool Index Writes'
                      PL_RD_TM:
                        type: integer
                        format: int64
                        description: 'pool_read_time: Buffer Pool Read Time'
                      PL_WT_TM:
                        type: integer
                        format: int64
                        description: 'pool_write_time: Buffer Pool Write Time'
                      FLS_CLOSED:
                        type: integer
                        format: int64
                        description: 'files_closed: Files Closed for Buffer Pool'
                      PL_A_DRSI:
                        type: integer
                        format: int64
                        description: 'pool_async_data_readsi: Asynchronous Pool Data Reads'
                      PL_A_DWS:
                        type: integer
                        format: int64
                        description: 'pool_async_data_writes: Asynchronous Pool Data Writes'
                      PL_A_IWS:
                        type: integer
                        format: int64
                        description: 'pool_async_index_writes: Asynchronous Pool Index Writes'
                      PL_A_RTM:
                        type: integer
                        format: int64
                        description: 'pool_async_read_time: Asynchronous Read Time'
                      PL_A_WTM:
                        type: integer
                        format: int64
                        description: 'pool_async_write_time: Asynchronous Write Time'
                      PL_A_DRRQ:
                        type: integer
                        format: int64
                        description: 'pool_async_data_read_reqs: No. of Asynchronous Read Requests'
                      DIRCT_RDS:
                        type: integer
                        format: int64
                        description: 'direct_reads: Direct Reads'
                      DIRCT_WTS:
                        type: integer
                        format: int64
                        description: 'direct_writes: Direct Writes'
                      DIRCT_RRQS:
                        type: integer
                        format: int64
                        description: 'direct_read_reqs: Direct Read Requests'
                      DIRCT_WRQS:
                        type: integer
                        format: int64
                        description: 'direct_write_reqs: Direct Write Requests'
                      DIRCT_RTM:
                        type: integer
                        format: int64
                        description: 'direct_read_time: Direct Read Time'
                      DIRCT_WTM:
                        type: integer
                        format: int64
                        description: 'direct_write_time: Direct Write Time'
                      PL_A_IRS:
                        type: integer
                        format: int64
                        description: 'pool_async_index_reads: Asynchronous Pool Index Reads'
                      PL_D_TE:
                        type: integer
                        format: int64
                        description: 'pool_data_to_estore: No. of Pages Copied from BP to ExStor.'
                      PL_I_TE:
                        type: integer
                        format: int64
                        description: 'pool_index_to_estore: No. of Pages Copied from BP to ExStor.'
                      PL_I_FE:
                        type: integer
                        format: int64
                        description: 'pool_index_from_estore: No of Pages Copied from ExStor to BP'
                      PL_D_FE:
                        type: integer
                        format: int64
                        description: 'pool_data_from_estore: No. of Pages Copied from ExStor to BP'
                      UNREADPFPG:
                        type: integer
                        format: int64
                        description: 'unread_prefetch_pages: Unread prefetched pages'
                      PL_TD_LRS:
                        type: integer
                        format: int64
                        description: pool_temp_data_l_reads
                      PL_TD_PRS:
                        type: integer
                        format: int64
                        description: pool_temp_data_p_reads
                      PL_TI_LRS:
                        type: integer
                        format: int64
                        description: pool_temp_index_l_reads
                      PL_TI_PRS:
                        type: integer
                        format: int64
                        description: pool_temp_index_p_reads
                      PL_A_IRRQ:
                        type: integer
                        format: int64
                        description: pool_async_index_read_reqs
                      CURBUFFSZ:
                        type: integer
                        format: int64
                        description: bp_cur_buffsz
                      NEWBUFFSZ:
                        type: integer
                        format: int64
                        description: bp_new_buffsz
                      PGS_FROM_BLOCKIO:
                        type: integer
                        format: int64
                        description: pages_from_block_ios
                      PGS_FROM_VECTRIO:
                        type: integer
                        format: int64
                        description: pages_from_vectored_ios
                      PHYS_PAGE_MAPS:
                        type: integer
                        format: int64
                        description: physical_page_maps
                      PL_ASYNC_XDA_RD:
                        type: integer
                        format: int64
                        description: pool_async_xda_reads
                      PL_ASYNC_XDA_RRQ:
                        type: integer
                        format: int64
                        description: pool_async_xda_read_reqs
                      PL_ASYNC_XDA_WRT:
                        type: integer
                        format: int64
                        description: pool_aysnc_xda_writes
                      PL_NO_VICTIM_BUF:
                        type: integer
                        format: int64
                        description: pool_no_victim_buffer
                      POOL_XDA_L_READS:
                        type: integer
                        format: int64
                        description: pool_xda_l_reads
                      POOL_XDA_P_READS:
                        type: integer
                        format: int64
                        description: pool_xda_p_reads
                      POOL_XDA_WRITES:
                        type: integer
                        format: int64
                        description: pool_xda_writes
                      PL_TEMP_XDA_L_RD:
                        type: integer
                        format: int64
                        description: pool_temp_xda_l_reads
                      PL_TEMP_XDA_P_RD:
                        type: integer
                        format: int64
                        description: pool_temp_xda_p_reads
                      VECTORED_IOS:
                        type: integer
                        format: int64
                        description: vectored_ios
                      BP_PAGES_LEFT:
                        type: integer
                        format: int64
                        description: bp_pages_left_to_remove
                      BP_TBSP_USE_CNT:
                        type: integer
                        format: int64
                        description: bp_tbsp_use_count
              required:
              - ACTION
              - CALLERFLAG
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMSB:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition Number
                        BP_NAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        CALLERFLAG:
                          type: string
                          maxLength: 1
                          description: Who Has Called this Program
                        DBMSTRTTME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PRGVERS:
                          type: string
                          maxLength: 20
                          description: Version of Program Inserted this Row
                        IN_DB_ALIA:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        DB_NAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        DB_PATH:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
                        PL_D_LRS:
                          type: integer
                          format: int64
                          description: 'pool_data_l_reads: Pool Data Logical Reads'
                        PL_D_PRS:
                          type: integer
                          format: int64
                          description: 'pool_data_p_reads: Pool Data Physical Reads'
                        PL_D_WS:
                          type: integer
                          format: int64
                          description: 'pool_data_writes: Pool Data Writes'
                        PL_I_LRS:
                          type: integer
                          format: int64
                          description: 'pool_index_l_reads: Pool Index Logical Reads'
                        PL_I_PRS:
                          type: integer
                          format: int64
                          description: 'pool_index_p_reads: Pool Index Physical Reads'
                        PL_I_WS:
                          type: integer
                          format: int64
                          description: 'pool_index_writes: Pool Index Writes'
                        PL_RD_TM:
                          type: integer
                          format: int64
                          description: 'pool_read_time: Buffer Pool Read Time'
                        PL_WT_TM:
                          type: integer
                          format: int64
                          description: 'pool_write_time: Buffer Pool Write Time'
                        FLS_CLOSED:
                          type: integer
                          format: int64
                          description: 'files_closed: Files Closed for Buffer Pool'
                        PL_A_DRSI:
                          type: integer
                          format: int64
                          description: 'pool_async_data_readsi: Asynchronous Pool Data Reads'
                        PL_A_DWS:
                          type: integer
                          format: int64
                          description: 'pool_async_data_writes: Asynchronous Pool Data Writes'
                        PL_A_IWS:
                          type: integer
                          format: int64
                          description: 'pool_async_index_writes: Asynchronous Pool Index Writes'
                        PL_A_RTM:
                          type: integer
                          format: int64
                          description: 'pool_async_read_time: Asynchronous Read Time'
                        PL_A_WTM:
                          type: integer
                          format: int64
                          description: 'pool_async_write_time: Asynchronous Write Time'
                        PL_A_DRRQ:
                          type: integer
                          format: int64
                          description: 'pool_async_data_read_reqs: No. of Asynchronous Read Requests'
                        DIRCT_RDS:
                          type: integer
                          format: int64
                          description: 'direct_reads: Direct Reads'
                        DIRCT_WTS:
                          type: integer
                          format: int64
                          description: 'direct_writes: Direct Writes'
                        DIRCT_RRQS:
                          type: integer
                          format: int64
                          description: 'direct_read_reqs: Direct Read Requests'
                        DIRCT_WRQS:
                          type: integer
                          format: int64
                          description: 'direct_write_reqs: Direct Write Requests'
                        DIRCT_RTM:
                          type: integer
                          format: int64
                          description: 'direct_read_time: Direct Read Time'
                        DIRCT_WTM:
                          type: integer
                          format: int64
                          description: 'direct_write_time: Direct Write Time'
                        PL_A_IRS:
                          type: integer
                          format: int64
                          description: 'pool_async_index_reads: Asynchronous Pool Index Reads'
                        PL_D_TE:
                          type: integer
                          format: int64
                          description: 'pool_data_to_estore: No. of Pages Copied from BP to ExStor.'
                        PL_I_TE:
                          type: integer
                          format: int64
                          description: 'pool_index_to_estore: No. of Pages Copied from BP to ExStor.'
                        PL_I_FE:
                          type: integer
                          format: int64
                          description: 'pool_index_from_estore: No of Pages Copied from ExStor to BP'
                        PL_D_FE:
                          type: integer
                          format: int64
                          description: 'pool_data_from_estore: No. of Pages Copied from ExStor to BP'
                        UNREADPFPG:
                          type: integer
                          format: int64
                          description: 'unread_prefetch_pages: Unread prefetched pages'
                        PL_TD_LRS:
                          type: integer
                          format: int64
                          description: pool_temp_data_l_reads
                        PL_TD_PRS:
                          type: integer
                          format: int64
                          description: pool_temp_data_p_reads
                        PL_TI_LRS:
                          type: integer
                          format: int64
                          description: pool_temp_index_l_reads
                        PL_TI_PRS:
                          type: integer
                          format: int64
                          description: pool_temp_index_p_reads
                        PL_A_IRRQ:
                          type: integer
                          format: int64
                          description: pool_async_index_read_reqs
                        CURBUFFSZ:
                          type: integer
                          format: int64
                          description: bp_cur_buffsz
                        NEWBUFFSZ:
                          type: integer
                          format: int64
                          description: bp_new_buffsz
                        PGS_FROM_BLOCKIO:
                          type: integer
                          format: int64
                          description: pages_from_block_ios
                        PGS_FROM_VECTRIO:
                          type: integer
                          format: int64
                          description: pages_from_vectored_ios
                        PHYS_PAGE_MAPS:
                          type: integer
                          format: int64
                          description: physical_page_maps
                        PL_ASYNC_XDA_RD:
                          type: integer
                          format: int64
                          description: pool_async_xda_reads
                        PL_ASYNC_XDA_RRQ:
                          type: integer
                          format: int64
                          description: pool_async_xda_read_reqs
                        PL_ASYNC_XDA_WRT:
                          type: integer
                          format: int64
                          description: pool_aysnc_xda_writes
                        PL_NO_VICTIM_BUF:
                          type: integer
                          format: int64
                          description: pool_no_victim_buffer
                        POOL_XDA_L_READS:
                          type: integer
                          format: int64
                          description: pool_xda_l_reads
                        POOL_XDA_P_READS:
                          type: integer
                          format: int64
                          description: pool_xda_p_reads
                        POOL_XDA_WRITES:
                          type: integer
                          format: int64
                          description: pool_xda_writes
                        PL_TEMP_XDA_L_RD:
                          type: integer
                          format: int64
                          description: pool_temp_xda_l_reads
                        PL_TEMP_XDA_P_RD:
                          type: integer
                          format: int64
                          description: pool_temp_xda_p_reads
                        VECTORED_IOS:
                          type: integer
                          format: int64
                          description: vectored_ios
                        BP_PAGES_LEFT:
                          type: integer
                          format: int64
                          description: bp_pages_left_to_remove
                        BP_TBSP_USE_CNT:
                          type: integer
                          format: int64
                          description: bp_tbsp_use_count
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
