openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_EXEC_UPDATESTATS:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Execute UPDATE STATISTICS for a given table (and index)
      operationId: /rfc/MSS_EXEC_UPDATESTATS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a Database Connection
                DB_NAME:
                  type: string
                  maxLength: 128
                  description: Database name
                FULLSCAN:
                  type: string
                  maxLength: 1
                  description: If 'X', the WITH FULLSCAN.
                INDEX_NAME:
                  type: string
                  maxLength: 128
                  description: Index name
                SAMPLEPER:
                  type: integer
                  format: int32
                  description: If specified, the WITH SAMPLE <sampleper> PERCENT.
                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
                INFO_MSGS:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTLINE:
                        type: string
                        maxLength: 255
                        description: DBCC info message
              required:
              - FULLSCAN
              - SAMPLEPER
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INFO_MSGS:
                    type: array
                    items:
                      type: object
                      properties:
                        TEXTLINE:
                          type: string
                          maxLength: 255
                          description: DBCC info message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
