openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_COLLECT_INFO_ON_INDEXES:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Collect infromation on all indexes of a table
      operationId: /rfc/MSS_COLLECT_INFO_ON_INDEXES
      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
                INDEX_INFOCOLL:
                  type: array
                  items:
                    type: object
                    properties:
                      INDNAME:
                        type: string
                        maxLength: 128
                        description: Index name
                      DESCRIPTION:
                        type: string
                        maxLength: 255
                        description: Index description
                      COLUMNS:
                        type: string
                        maxLength: 2078
                        description: Index columns
                      DEPTH:
                        type: integer
                        format: int32
                        description: Depth
                      ROWMINLEN:
                        type: integer
                        format: int32
                        description: Minimum size of a row
                      ROWMAXLEN:
                        type: integer
                        format: int32
                        description: Maximum size of a row
                      ROWMODCTR:
                        type: integer
                        format: int32
                        description: Row modification counter
                      AUTOSTATS:
                        type: string
                        maxLength: 3
                        description: Auto update statistics setting
                      STATSDATE:
                        type: string
                        maxLength: 20
                        description: Last update statistics
                      DATASZ:
                        type: integer
                        format: int64
                        description: Index size in KB
                      RESERVEDSZ:
                        type: integer
                        format: int64
                        description: Index reserved size in KB
                      USEDSZ:
                        type: integer
                        format: int64
                        description: Index used size in KB
              required:
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INDEX_INFOCOLL:
                    type: array
                    items:
                      type: object
                      properties:
                        INDNAME:
                          type: string
                          maxLength: 128
                          description: Index name
                        DESCRIPTION:
                          type: string
                          maxLength: 255
                          description: Index description
                        COLUMNS:
                          type: string
                          maxLength: 2078
                          description: Index columns
                        DEPTH:
                          type: integer
                          format: int32
                          description: Depth
                        ROWMINLEN:
                          type: integer
                          format: int32
                          description: Minimum size of a row
                        ROWMAXLEN:
                          type: integer
                          format: int32
                          description: Maximum size of a row
                        ROWMODCTR:
                          type: integer
                          format: int32
                          description: Row modification counter
                        AUTOSTATS:
                          type: string
                          maxLength: 3
                          description: Auto update statistics setting
                        STATSDATE:
                          type: string
                          maxLength: 20
                          description: Last update statistics
                        DATASZ:
                          type: integer
                          format: int64
                          description: Index size in KB
                        RESERVEDSZ:
                          type: integer
                          format: int64
                          description: Index reserved size in KB
                        USEDSZ:
                          type: integer
                          format: int64
                          description: Index used size in KB
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
