openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_DBCC_DOWNLOAD:
    post:
      tags:
      - STUL
      summary: SQL Server download DBCC database check results
      operationId: /rfc/MSQ_DBCC_DOWNLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECKDBRESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      JOBNAME:
                        type: string
                        maxLength: 50
                        description: Jobname
                      COMMAND:
                        type: string
                        maxLength: 18
                        description: DBCC command
                      STARTDATE:
                        type: string
                        maxLength: 19
                        description: Start of DBCC run
                      ENDDATE:
                        type: string
                        maxLength: 19
                        description: End of DBCC run
                      ALLOCERR:
                        type: string
                        maxLength: 20
                        description: Allocation errors
                      CONSISTERR:
                        type: string
                        maxLength: 20
                        description: Consistency errors
                      MSGLINES:
                        type: integer
                        format: int32
                        description: Lines with Msg
                      ALLLINES:
                        type: integer
                        format: int32
                        description: Lines per execution
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHECKDBRESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        JOBNAME:
                          type: string
                          maxLength: 50
                          description: Jobname
                        COMMAND:
                          type: string
                          maxLength: 18
                          description: DBCC command
                        STARTDATE:
                          type: string
                          maxLength: 19
                          description: Start of DBCC run
                        ENDDATE:
                          type: string
                          maxLength: 19
                          description: End of DBCC run
                        ALLOCERR:
                          type: string
                          maxLength: 20
                          description: Allocation errors
                        CONSISTERR:
                          type: string
                          maxLength: 20
                          description: Consistency errors
                        MSGLINES:
                          type: integer
                          format: int32
                          description: Lines with Msg
                        ALLLINES:
                          type: integer
                          format: int32
                          description: Lines per execution
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
