openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_HIS_OVERVIEW:
    post:
      tags:
      - SDB6DB02
      summary: 'DB6: get data for history overview'
      operationId: /rfc/DB6_HIS_OVERVIEW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                IT_DB6PMDB02:
                  type: array
                  items:
                    type: object
                    properties:
                      NUMPARTITN:
                        type: integer
                        format: int32
                        description: 'DB6: number of partitions'
                      FSTTABRSTD:
                        type: string
                        format: date
                        description: 'DB6: first date of tables/indexes runstats without dbstatc=N'
                      FSTTABRSTT:
                        type: string
                        maxLength: 6
                        description: 'DB6: first time of tables/indexes runstats without dbstatc=N'
                      LSTTABRSTD:
                        type: string
                        format: date
                        description: 'DB6: last date of tables/indexes runstats'
                      LSTTABRSTT:
                        type: string
                        maxLength: 6
                        description: 'DB6: last time of tables/indexes runstats'
                      TABANAD:
                        type: string
                        format: date
                        description: 'DB6: last date of tables/indexes analysis'
                      TABANAT:
                        type: string
                        maxLength: 6
                        description: 'DB6: last time of tables/indexes analysis'
                      TBSANAD:
                        type: string
                        format: date
                        description: 'DB6: last date of tablespace analysis'
                      TBSANAT:
                        type: string
                        maxLength: 6
                        description: 'DB6: last time of tablespace analysis'
                      TBSNUM:
                        type: integer
                        format: int64
                        description: 'DB6: number of tablespace in DB'
                      TOTALKB:
                        type: integer
                        format: int64
                        description: 'DB6: total size over all partitions in KB'
                      FREEKB:
                        type: integer
                        format: int64
                        description: 'DB6: total free size over all partitions in KB'
                      PCTUSEDKB:
                        type: integer
                        format: int64
                        description: 'DB6: used space in percent over all partition'
                      MINFREEKB:
                        type: integer
                        format: int64
                        description: 'DB6: minimal free space in a tablespace in KB'
                      MAXPCTUSED:
                        type: integer
                        format: int64
                        description: 'DB6: max used space in percent in a tablespace'
                      TABNUM:
                        type: integer
                        format: int64
                        description: 'DB6: number of tables in DB'
                      TABSIZEKB:
                        type: integer
                        format: int64
                        description: 'DB6: total size of tables in KB'
                      IDXNUM:
                        type: integer
                        format: int64
                        description: 'DB6: number of indexes in DB'
                      IDXSIZEKB:
                        type: integer
                        format: int64
                        description: 'DB6: total size of indexes in DB'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMDB02:
                    type: array
                    items:
                      type: object
                      properties:
                        NUMPARTITN:
                          type: integer
                          format: int32
                          description: 'DB6: number of partitions'
                        FSTTABRSTD:
                          type: string
                          format: date
                          description: 'DB6: first date of tables/indexes runstats without dbstatc=N'
                        FSTTABRSTT:
                          type: string
                          maxLength: 6
                          description: 'DB6: first time of tables/indexes runstats without dbstatc=N'
                        LSTTABRSTD:
                          type: string
                          format: date
                          description: 'DB6: last date of tables/indexes runstats'
                        LSTTABRSTT:
                          type: string
                          maxLength: 6
                          description: 'DB6: last time of tables/indexes runstats'
                        TABANAD:
                          type: string
                          format: date
                          description: 'DB6: last date of tables/indexes analysis'
                        TABANAT:
                          type: string
                          maxLength: 6
                          description: 'DB6: last time of tables/indexes analysis'
                        TBSANAD:
                          type: string
                          format: date
                          description: 'DB6: last date of tablespace analysis'
                        TBSANAT:
                          type: string
                          maxLength: 6
                          description: 'DB6: last time of tablespace analysis'
                        TBSNUM:
                          type: integer
                          format: int64
                          description: 'DB6: number of tablespace in DB'
                        TOTALKB:
                          type: integer
                          format: int64
                          description: 'DB6: total size over all partitions in KB'
                        FREEKB:
                          type: integer
                          format: int64
                          description: 'DB6: total free size over all partitions in KB'
                        PCTUSEDKB:
                          type: integer
                          format: int64
                          description: 'DB6: used space in percent over all partition'
                        MINFREEKB:
                          type: integer
                          format: int64
                          description: 'DB6: minimal free space in a tablespace in KB'
                        MAXPCTUSED:
                          type: integer
                          format: int64
                          description: 'DB6: max used space in percent in a tablespace'
                        TABNUM:
                          type: integer
                          format: int64
                          description: 'DB6: number of tables in DB'
                        TABSIZEKB:
                          type: integer
                          format: int64
                          description: 'DB6: total size of tables in KB'
                        IDXNUM:
                          type: integer
                          format: int64
                          description: 'DB6: number of indexes in DB'
                        IDXSIZEKB:
                          type: integer
                          format: int64
                          description: 'DB6: total size of indexes in DB'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
