openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_LARGEST_TABLES_MSQ:
    post:
      tags:
      - SFMSS_SIZE
      summary: MS SQL server function to get the largest tables in database
      operationId: /rfc/GET_LARGEST_TABLES_MSQ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NUMOFTABS:
                  type: integer
                  format: int32
                TOPLARGTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 256
                        description: MS SQL server table or index name
                      USED:
                        type: integer
                        format: int32
                        description: Count of KBytes used for index and table data
                      RESPAGES:
                        type: integer
                        format: int32
                        description: Count of alloc. KBytes for all idxes & table data
                      DPAGES:
                        type: integer
                        format: int32
                        description: No. of data or index pages used stated in  Kbytes
                      TABROWS:
                        type: integer
                        format: int32
                        description: MS SQL server - number of rows in a table
                      MODROWS:
                        type: integer
                        format: int32
                        description: MS SQL server - modified rows in the table since upd stats
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TOPLARGTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 256
                          description: MS SQL server table or index name
                        USED:
                          type: integer
                          format: int32
                          description: Count of KBytes used for index and table data
                        RESPAGES:
                          type: integer
                          format: int32
                          description: Count of alloc. KBytes for all idxes & table data
                        DPAGES:
                          type: integer
                          format: int32
                          description: No. of data or index pages used stated in  Kbytes
                        TABROWS:
                          type: integer
                          format: int32
                          description: MS SQL server - number of rows in a table
                        MODROWS:
                          type: integer
                          format: int32
                          description: MS SQL server - modified rows in the table since upd stats
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
