openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TRFC_QOUT_RUN:
    post:
      tags:
      - ORFC
      operationId: /rfc/TRFC_QOUT_RUN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FORCED:
                  type: string
                  default: ' '
                  maxLength: 1
                MAXLUW:
                  type: integer
                  format: int32
                  default: 0
                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)
                DATA:
                  type: array
                  items:
                    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)
                      ARFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      ARFCLUWCNT:
                        type: string
                        maxLength: 8
                        description: Counter within a transaction (LUW)
                      ARFCBLCNT:
                        type: string
                        format: byte
                        description: Block number for ARFC data
                      ARFCDATA01:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                      ARFCDATA02:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                      ARFCDATA03:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                      ARFCDATA04:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                      ARFCDATA05:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                      ARFCDATA06:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                      ARFCDATA07:
                        type: string
                        format: byte
                        description: Asynchronous RFC
                NAME_QUEUE:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      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)
                      QNAME:
                        type: string
                        maxLength: 24
                        description: Name of tRFC Queue
                      DEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      QCOUNT:
                        type: integer
                        format: int64
                        description: Counter for serialized tRFC
                      HPQNAME:
                        type: string
                        maxLength: 24
                        description: Name of tRFC Queue
                      NOSEND:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      QSTATE:
                        type: string
                        maxLength: 8
                        description: Transactional tRFC queue status
                      QLOCKCNT:
                        type: integer
                        format: int64
                        description: Counter for serialized tRFC
                      QRFCUSER:
                        type: string
                        maxLength: 12
                        description: User Name
                      QRFCFNAM:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      QRFCDATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      QRFCUZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      QLUWCNT:
                        type: string
                        maxLength: 8
                        description: Counter within a transaction (LUW)
                      QMAILED:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      ERRMESS:
                        type: string
                        maxLength: 73
                        description: Message Text
                STATES:
                  type: array
                  items:
                    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)
                      ARFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      ARFCLUWCNT:
                        type: string
                        maxLength: 8
                        description: Counter within a transaction (LUW)
                      ARFCSTATE:
                        type: string
                        maxLength: 8
                        description: Status of an ARFC call (RECORDED,CPICERR,MAILED,READ..)
                      ARFCFNAM:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
                      ARFCRETURN:
                        type: string
                        maxLength: 1
                        description: Reply expected
                      ARFCUZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      ARFCDATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      ARFCUSER:
                        type: string
                        maxLength: 12
                        description: User Name
                      ARFCRETRYS:
                        type: integer
                        format: int64
                        description: No. of attempts
                      ARFCTCODE:
                        type: string
                        maxLength: 20
                        description: Current Transaction Code
                      ARFCRHOST:
                        type: string
                        maxLength: 8
                        description: Character field of length 8
                      ARFCMSG:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ARFCRESERV:
                        type: string
                        maxLength: 255
                        description: Horizontal Line
                      HASH:
                        type: string
                        format: byte
                        description: HASH for tRFC/qRFC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ASTATE:
                    type: string
                    maxLength: 8
                    description: Transactional tRFC queue status
                  EXELUW:
                    type: integer
                    format: int32
                  DATA:
                    type: array
                    items:
                      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)
                        ARFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        ARFCLUWCNT:
                          type: string
                          maxLength: 8
                          description: Counter within a transaction (LUW)
                        ARFCBLCNT:
                          type: string
                          format: byte
                          description: Block number for ARFC data
                        ARFCDATA01:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                        ARFCDATA02:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                        ARFCDATA03:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                        ARFCDATA04:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                        ARFCDATA05:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                        ARFCDATA06:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                        ARFCDATA07:
                          type: string
                          format: byte
                          description: Asynchronous RFC
                  NAME_QUEUE:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        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)
                        QNAME:
                          type: string
                          maxLength: 24
                          description: Name of tRFC Queue
                        DEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        QCOUNT:
                          type: integer
                          format: int64
                          description: Counter for serialized tRFC
                        HPQNAME:
                          type: string
                          maxLength: 24
                          description: Name of tRFC Queue
                        NOSEND:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        QSTATE:
                          type: string
                          maxLength: 8
                          description: Transactional tRFC queue status
                        QLOCKCNT:
                          type: integer
                          format: int64
                          description: Counter for serialized tRFC
                        QRFCUSER:
                          type: string
                          maxLength: 12
                          description: User Name
                        QRFCFNAM:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        QRFCDATUM:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        QRFCUZEIT:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        QLUWCNT:
                          type: string
                          maxLength: 8
                          description: Counter within a transaction (LUW)
                        QMAILED:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        ERRMESS:
                          type: string
                          maxLength: 73
                          description: Message Text
                  STATES:
                    type: array
                    items:
                      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)
                        ARFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        ARFCLUWCNT:
                          type: string
                          maxLength: 8
                          description: Counter within a transaction (LUW)
                        ARFCSTATE:
                          type: string
                          maxLength: 8
                          description: Status of an ARFC call (RECORDED,CPICERR,MAILED,READ..)
                        ARFCFNAM:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
                        ARFCRETURN:
                          type: string
                          maxLength: 1
                          description: Reply expected
                        ARFCUZEIT:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        ARFCDATUM:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        ARFCUSER:
                          type: string
                          maxLength: 12
                          description: User Name
                        ARFCRETRYS:
                          type: integer
                          format: int64
                          description: No. of attempts
                        ARFCTCODE:
                          type: string
                          maxLength: 20
                          description: Current Transaction Code
                        ARFCRHOST:
                          type: string
                          maxLength: 8
                          description: Character field of length 8
                        ARFCMSG:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ARFCRESERV:
                          type: string
                          maxLength: 255
                          description: Horizontal Line
                        HASH:
                          type: string
                          format: byte
                          description: HASH for tRFC/qRFC
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
