openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB4_GET_PEAK_TABSIZE:
    post:
      tags:
      - STU4_RZ20
      summary: 'iSeries: Get Largest Table'
      operationId: /rfc/DB4_GET_PEAK_TABSIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PEAK_TAB:
                    type: object
                    properties:
                      DBHOST:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      SCHEMANAME:
                        type: string
                        maxLength: 10
                        description: ''
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table name
                      TABNAME_LONG:
                        type: string
                        maxLength: 30
                        description: Table name
                      ANDAT:
                        type: string
                        maxLength: 12
                        description: Analysis date (yyyymmddhhmm)
                      VWTYP:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      TABSIZE:
                        type: integer
                        format: int64
                        description: Used blocks of a table in KB
                      CURROWS:
                        type: integer
                        format: int64
                        description: Number of rows in a table
                      INDBS:
                        type: integer
                        format: int64
                        description: Used blocks of an index-Btree (kb)
                      DLTROWS:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMOPEN:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMCLOSE:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMINSERT:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMUPDATE:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMDELETE:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMLREAD:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMPREAD:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      NUMCST:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      CSTSIZE:
                        type: integer
                        format: int64
                        description: 'iSeries: Number of rows / object size'
                      CRTDATE:
                        type: string
                        format: date
                        description: Date
                      CRTTIME:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
                      SAVDATE:
                        type: string
                        format: date
                        description: Date
                      SAVTIME:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
                      RSTDATE:
                        type: string
                        format: date
                        description: Date
                      RSTTIME:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
