openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_EXEC_DBCC_CHECKTABLE:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: Execute DBCC CHECKTABLE for a given table
      operationId: /rfc/MSS_EXEC_DBCC_CHECKTABLE
      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
                INFO_MSGS:
                  type: array
                  items:
                    type: object
                    properties:
                      TEXTLINE:
                        type: string
                        maxLength: 255
                        description: DBCC info message
              required:
              - 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.
