openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ID_OF_BACKGROUNDTASK:
    post:
      tags:
      - ARFC
      summary: Get Transactional RFC ID
      operationId: /rfc/ID_OF_BACKGROUNDTASK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEST:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Destination When Using qRFC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FNUM:
                    type: string
                    maxLength: 8
                    description: Function Number Within LUW
                  TID:
                    type: object
                    properties:
                      ARFCIPID:
                        type: string
                        maxLength: 8
                        description: Host ID (IP ID
                      ARFCPID:
                        type: string
                        maxLength: 4
                        description: Process ID
                      ARFCTIME:
                        type: string
                        maxLength: 8
                        description: Time Stamp
                      ARFCTIDCNT:
                        type: string
                        maxLength: 4
                        description: Transaction ID (LUW -> COMMIT WORK)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
