openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_DB_SIZE_DETAILS:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Get  information on the size of all tables and indexes in a database
      operationId: /rfc/MSS_GET_DB_SIZE_DETAILS
      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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DB_SIZEDETAILS:
                    type: object
                    properties:
                      RESERVED:
                        type: integer
                        format: int64
                        description: Reserved size in KB
                      NUMTABS:
                        type: integer
                        format: int32
                        description: Number of user tables
                      TABDATA:
                        type: integer
                        format: int64
                        description: Data size in KB
                      NUMINDS:
                        type: integer
                        format: int32
                        description: Number of indexes of user tables
                      INDDATA:
                        type: integer
                        format: int64
                        description: Index size in KB
                      UNUSED:
                        type: integer
                        format: int64
                        description: Unused size in KB
                      NUMPROCS:
                        type: integer
                        format: int32
                        description: Number of stored procedures created in DBI
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
