openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_DBUTIL_MSQ:
    post:
      tags:
      - SFMSS_DBUTIL
      summary: retrieve data available from issuing a dbcc or simple sp command
      operationId: /rfc/GET_DBUTIL_MSQ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMMAND:
                  type: string
                  maxLength: 256
                  description: The command to run
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                RESULTS:
                  type: array
                  items:
                    type: object
                    properties:
                      DBCCOUT:
                        type: string
                        maxLength: 120
                        description: MS SQL server - dbcc output line
              required:
              - COMMAND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULTS:
                    type: array
                    items:
                      type: object
                      properties:
                        DBCCOUT:
                          type: string
                          maxLength: 120
                          description: MS SQL server - dbcc output line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
