openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_TABLE_DATA_READ:
    post:
      tags:
      - SFMSS_SIZE
      summary: Get  size information on a table
      operationId: /rfc/MSS_TABLE_DATA_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: DBCON name
                DB_NAME:
                  type: string
                  maxLength: 128
                  description: Database name
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target Schema
                SCHEMA_NAME:
                  type: string
                  maxLength: 128
                  description: Schema name
                TABLE_NAME:
                  type: string
                  maxLength: 128
                  description: Table name
              required:
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TABLE_SIZEINFO:
                    type: object
                    properties:
                      RESERVEDSZ:
                        type: integer
                        format: int64
                        description: Reserved size in KB
                      DATASZ:
                        type: integer
                        format: int64
                        description: Data size in KB
                      INDEXSZ:
                        type: integer
                        format: int64
                        description: Index size in KB
                      UNUSEDSZ:
                        type: integer
                        format: int64
                        description: Unused size in KB
                      ROWCNT:
                        type: integer
                        format: int64
                        description: Number of rows
                      LSTUPDTSTAT:
                        type: string
                        maxLength: 12
                        description: Analysis date (yyyymmddhhmm)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
