openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GET_SYSTEM_INFO:
    post:
      tags:
      - CRFC
      operationId: /rfc/RFC_GET_SYSTEM_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DESTINATION:
                  type: string
                  description: Logical Destination (Specified in Function Call)
              required:
              - DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CURRENT_RESOURCES:
                    type: integer
                    format: int32
                    description: Loops, Current Loop Pass
                  DEST_COMMUNICATION_MESSAGE:
                    type: string
                    maxLength: 120
                  DEST_SYSTEM_MESSAGE:
                    type: string
                    maxLength: 120
                  DIALOG_USER_TYPE:
                    type: string
                    maxLength: 1
                    description: Internal
                  MAXIMAL_RESOURCES:
                    type: integer
                    format: int32
                    description: Loops, Current Loop Pass
                  RECOMMENDED_DELAY:
                    type: integer
                    format: int32
                    description: Loops, Current Loop Pass
                  RFCSI_EXPORT:
                    type: object
                    properties:
                      RFCPROTO:
                        type: string
                        maxLength: 3
                        description: RFC log version
                      RFCCHARTYP:
                        type: string
                        maxLength: 4
                        description: Character set (SAP name)
                      RFCINTTYP:
                        type: string
                        maxLength: 3
                        description: Integer format (1 / 2 = little / big endian)
                      RFCFLOTYP:
                        type: string
                        maxLength: 3
                        description: Floating point format (1=IEEE, 2=IBM/370 format)
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCHOST:
                        type: string
                        maxLength: 8
                        description: Character field of length 8
                      RFCSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      RFCDATABS:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      RFCDBHOST:
                        type: string
                        maxLength: 32
                        description: Database host name
                      RFCDBSYS:
                        type: string
                        maxLength: 10
                        description: Central Database System
                      RFCSAPRL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      RFCMACH:
                        type: string
                        maxLength: 5
                        description: 'RFC: SAP machine ID'
                      RFCOPSYS:
                        type: string
                        maxLength: 10
                        description: Operating System of Application Server
                      RFCTZONE:
                        type: string
                        maxLength: 6
                        description: Time zone (difference from UTC in seconds)
                      RFCDAYST:
                        type: string
                        maxLength: 1
                        description: Daylight Saving Time Selection
                      RFCIPADDR:
                        type: string
                        maxLength: 15
                        description: IP Address
                      RFCKERNRL:
                        type: string
                        maxLength: 4
                        description: Kernel Release
                      RFCHOST2:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      RFCSI_RESV:
                        type: string
                        maxLength: 12
                        description: Reserve field in RFCSI
                      RFCIPV6ADDR:
                        type: string
                        maxLength: 45
                        description: IP Address in IPv6 Format
                  RFC_LOGIN_COMPLETE:
                    type: string
                    maxLength: 1
                    description: Internal
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
