openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RECORDER_GET_LAST_DATA:
    post:
      tags:
      - SREC
      summary: RFC data recorder (provides call data of the last RFC-RECORDER call)
      operationId: /rfc/RECORDER_GET_LAST_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RECORD:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCSIZE:
                        type: integer
                        format: int32
                        description: Size of RFC recorder record
                      RFCRECORD:
                        type: string
                        format: byte
                        description: RFC recorder record
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LAST_DESTINATION:
                    type: string
                    maxLength: 32
                    description: Destination of last call
                  RECORD:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCSIZE:
                          type: integer
                          format: int32
                          description: Size of RFC recorder record
                        RFCRECORD:
                          type: string
                          format: byte
                          description: RFC recorder record
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
