openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LC_GET_FILE:
    post:
      tags:
      - SLCA
      operationId: /rfc/LC_GET_FILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  maxLength: 30
                COPY_MODE:
                  type: string
                  maxLength: 1
                LC_FILENAME:
                  type: string
                  maxLength: 255
                USE_DBMRFC:
                  type: string
                  maxLength: 1
                  description: 'SAP DB: DBMRFC Call Mode'
                ACTION_PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 255
                        description: Log line
                LC_FILE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LENGTH:
                        type: string
                        maxLength: 3
                        description: Length of protocol message in external program
                      MESSAGE:
                        type: string
                        maxLength: 128
                        description: Log message from external program
              required:
              - CON_NAME
              - LC_FILENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXITCODE:
                    type: integer
                    format: int32
                  ACTION_PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 255
                          description: Log line
                  LC_FILE_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LENGTH:
                          type: string
                          maxLength: 3
                          description: Length of protocol message in external program
                        MESSAGE:
                          type: string
                          maxLength: 128
                          description: Log message from external program
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
