openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSB_WRITE_LOCAL_FILE:
    post:
      tags:
      - RSB_TASK
      operationId: /rfc/RSB_WRITE_LOCAL_FILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IN_NEW_TASK:
                  type: string
                  default: ' '
                  maxLength: 1
                I_OHDEST:
                  type: string
                  maxLength: 30
                I_S_WRITE_IF:
                  type: object
                  properties:
                    BIN_FILESIZE:
                      type: integer
                      format: int32
                      description: Natural number
                    FILENAME:
                      type: string
                      maxLength: 100
                      description: Character 100
                    FILETYPE:
                      type: string
                      maxLength: 10
                      description: Character Field Length = 10
                    APPEND:
                      type: string
                      maxLength: 1
                      description: Character Field Length 1
                    WRITE_FIELD_SEPARATOR:
                      type: string
                      maxLength: 1
                      description: Character Field Length 1
                    TRUNC_TRAILING_BLANKS:
                      type: string
                      maxLength: 1
                      description: Character Field Length 1
                    WRITE_LF:
                      type: string
                      maxLength: 1
                      description: Character Field Length 1
                    COL_SELECT:
                      type: string
                      maxLength: 1
                      description: Character Field Length 1
                    COL_SELECT_MASK:
                      type: string
                      maxLength: 255
                      description: Char255
                    IN_NEW_TASK:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    DATA:
                      type: string
                      maxLength: 1024
                      description: Character 1024
                DATA_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA:
                        type: string
                        maxLength: 1024
                        description: Character 1024
              required:
              - I_OHDEST
              - I_S_WRITE_IF
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATA_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA:
                          type: string
                          maxLength: 1024
                          description: Character 1024
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
