openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_READ_FILE:
    post:
      tags:
      - SFMSS_ANALYZE
      summary: Use xp_cmdshell on SQL Server to copy a file to the local work directory
      operationId: /rfc/MSS_READ_FILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILENAME:
                  type: string
                  maxLength: 64
                  description: File to open
                FILE_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Holds raw data chunk from MSS SQL Profiler file
              required:
              - FILENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BYTES_READ:
                    type: integer
                    format: int32
                    description: Natural number
                  FILE_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Holds raw data chunk from MSS SQL Profiler file
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
