openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EPS_WRITE_BLOCK:
    post:
      tags:
      - EPSF
      summary: Write One Block Into a File
      operationId: /rfc/EPS_WRITE_BLOCK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILE_PATH:
                  type: string
                  maxLength: 100
                LAST_RECORD_LENGTH:
                  type: integer
                  format: int32
                NUMBER_OF_RECORDS:
                  type: integer
                  format: int32
                EPS_BUFFER:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Container for 8000 bytes
              required:
              - FILE_PATH
              - LAST_RECORD_LENGTH
              - NUMBER_OF_RECORDS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EPS_BUFFER:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Container for 8000 bytes
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
