openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CSM_SHOW_FILE:
    post:
      tags:
      - SCSM_FILEINFO
      operationId: /rfc/CSM_SHOW_FILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENDLINE:
                  type: integer
                  format: int32
                  default: 0
                FILENAME:
                  type: string
                  maxLength: 512
                  description: Complete File Name
                FILETYPE:
                  type: string
                  default: ASC
                  maxLength: 20
                  description: Not Yet Used
                GUID:
                  type: string
                  maxLength: 32
                  description: Not Yet Used
                LINES:
                  type: integer
                  format: int32
                  default: 0
                STARTFILEPOS:
                  type: string
                  default: '0'
                  maxLength: 20
                STARTLINE:
                  type: integer
                  format: int32
                  default: 0
                TIMEOUT:
                  type: integer
                  format: int32
                  default: 10
                ERROR_STD:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: Character 1024
                OUTPUT_BIN:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: 1024 Bytes
                OUTPUT_STD:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 1024
                        description: Character 1024
              required:
              - FILENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BYTES_READ:
                    type: string
                    maxLength: 20
                  FILEPOS:
                    type: string
                    maxLength: 20
                  LINES_READ:
                    type: integer
                    format: int32
                  STRING:
                    type: string
                  ERROR_STD:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: Character 1024
                  OUTPUT_BIN:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: 1024 Bytes
                  OUTPUT_STD:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 1024
                          description: Character 1024
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
