openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_TABLE1:
    post:
      tags:
      - SDB6TABLE
      summary: 'DB6: Configuration of all Tables Overview'
      operationId: /rfc/DB6_PM_TABLE1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CB_AVAILABLE:
                  type: string
                  maxLength: 1
                  description: Checkbox available
                CB_FLAGGED_ONLY:
                  type: string
                  maxLength: 1
                  description: 'DB6: Checkbox only flagged tables'
                CB_INDEX_TYPE:
                  type: string
                  maxLength: 1
                  description: Checkbox index type
                CB_LARGE_RIDS:
                  type: string
                  maxLength: 1
                  description: Checkbox Large_rids
                CB_LOAD_STATUS:
                  type: string
                  maxLength: 1
                  description: Checkbox load status
                CB_MAXOBJ:
                  type: string
                  maxLength: 1
                  description: 'DB6: Checkbox is maxobj relevant'
                CB_REORG_PENDING:
                  type: string
                  maxLength: 1
                  description: Checkbox reorg pending
                CB_ROWCOMPRESSION:
                  type: string
                  maxLength: 1
                  description: Checkbox rowcompression
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                MAXOBJ:
                  type: integer
                  format: int32
                  description: 'DB6: max rows to return, if cb_maxobj = ''X'''
                RB_SIZE:
                  type: string
                  maxLength: 1
                  description: 'DB6: Radiobutton order by Size'
                SYSTEM_ID:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                TABLENAME:
                  type: string
                  maxLength: 18
                  description: 'DB6: Table Name Filter'
                TABLESIZE:
                  type: integer
                  format: int64
                  description: 'DB6: Size >= value'
                TSPACE:
                  type: string
                  maxLength: 30
                  description: 'DB6: Tablespace Name Filter'
                IT_DB6PMCTOV:
                  type: array
                  items:
                    type: object
                    properties:
                      TABSCHEMA:
                        type: string
                        maxLength: 20
                        description: 'DB6: Schema Name'
                      TABLENAME:
                        type: string
                        maxLength: 18
                        description: 'DB6: Table Name'
                      RCKTSPACE:
                        type: string
                        maxLength: 30
                        description: 'DB6: Tablespace Name'
                      RCKDB6F1:
                        type: string
                        maxLength: 3
                        description: 'DB6: Overflow Rows'
                      RCKDB6F2:
                        type: string
                        maxLength: 3
                        description: 'DB6: tablesize / alloc. space'
                      RCKDB6F3:
                        type: string
                        maxLength: 3
                        description: 'DB6: full pages / alloc. pages'
                      RCKTABFLAG:
                        type: string
                        maxLength: 1
                        description: 'DB6: Recomm Flag overall Table'
                      RCKIDXFLAG:
                        type: string
                        maxLength: 1
                        description: 'DB6: Recomm Flag overall Index'
                      RCKTOTALKB:
                        type: integer
                        format: int64
                        description: 'DB6: Table size in kb'
                      RCKDAT:
                        type: string
                        format: date
                        description: 'DB6: Date of last reorgcheck (dmdb6srp)'
                      RCKTIM:
                        type: string
                        maxLength: 6
                        description: 'DB6: Time of last reorgcheck (dmdb6srp)'
              required:
              - CB_FLAGGED_ONLY
              - TABLENAME
              - TABLESIZE
              - TSPACE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCTOV:
                    type: array
                    items:
                      type: object
                      properties:
                        TABSCHEMA:
                          type: string
                          maxLength: 20
                          description: 'DB6: Schema Name'
                        TABLENAME:
                          type: string
                          maxLength: 18
                          description: 'DB6: Table Name'
                        RCKTSPACE:
                          type: string
                          maxLength: 30
                          description: 'DB6: Tablespace Name'
                        RCKDB6F1:
                          type: string
                          maxLength: 3
                          description: 'DB6: Overflow Rows'
                        RCKDB6F2:
                          type: string
                          maxLength: 3
                          description: 'DB6: tablesize / alloc. space'
                        RCKDB6F3:
                          type: string
                          maxLength: 3
                          description: 'DB6: full pages / alloc. pages'
                        RCKTABFLAG:
                          type: string
                          maxLength: 1
                          description: 'DB6: Recomm Flag overall Table'
                        RCKIDXFLAG:
                          type: string
                          maxLength: 1
                          description: 'DB6: Recomm Flag overall Index'
                        RCKTOTALKB:
                          type: integer
                          format: int64
                          description: 'DB6: Table size in kb'
                        RCKDAT:
                          type: string
                          format: date
                          description: 'DB6: Date of last reorgcheck (dmdb6srp)'
                        RCKTIM:
                          type: string
                          maxLength: 6
                          description: 'DB6: Time of last reorgcheck (dmdb6srp)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
