openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02N_GET_TB_DETL_ANALYSIS_DB2:
    post:
      tags:
      - S_DB02N_DB2
      operationId: /rfc/DB02N_GET_TB_DETL_ANALYSIS_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TABLE_CREATOR:
                  type: string
                  maxLength: 8
                TABLE_NAME:
                  type: string
                  maxLength: 18
              required:
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TABLE_CATALOG_INFO:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 18
                        description: DB2 table name
                      CREATOR:
                        type: string
                        maxLength: 8
                        description: DB2 creator name
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of object  enumValues: T=Table,A=Alias,V=View,G=Temporary table'
                        enum:
                        - T
                        - A
                        - V
                        - G
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      TSNAME:
                        type: string
                        maxLength: 8
                        description: Name of the tablespace
                      COLCOUNT:
                        type: integer
                        format: int32
                        description: Number of columns in the table or view
                      NPAGES:
                        type: integer
                        format: int32
                        description: Number of pages on which rows of the table appear
                      KEYCOLUMNS:
                        type: integer
                        format: int32
                        description: Number of columns in the table's primary key
                      RECLENGTH:
                        type: integer
                        format: int32
                        description: Maximum length (in bytes) of any record in the table
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'Status of the table  enumValues: I=Incomplete definition; lacking parent index,""=Table has no parent index,X=Table has a parent index'
                        enum:
                        - I
                        - ''
                        - X
                      CREATEDTS:
                        type: string
                        maxLength: 26
                        description: Time when the CREATE statement was executed
                      ALTEREDTS:
                        type: string
                        maxLength: 26
                        description: Time of most recent ALTER statement on the object
                      PCTROWCOMP:
                        type: integer
                        format: int32
                        description: Percentage of rows compressed within the total no. of rows
                      STATSTIME:
                        type: string
                        maxLength: 26
                        description: Date and time of last RUNSTATS
                      CARDF:
                        type: number
                        description: Total number of rows in the table
                      SIZE:
                        type: integer
                        format: int64
                        description: Size of the table in KB
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
