openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_REGISTER_TRUSTED_SYSTEM:
    post:
      tags:
      - QRFC
      operationId: /rfc/RFC_REGISTER_TRUSTED_SYSTEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  default: M
                  maxLength: 1
                RFCTRUST_SYSTEM:
                  type: object
                  properties:
                    RFCTRUSTID:
                      type: string
                      maxLength: 32
                      description: Trusted sytsem (for R/3 and external systems)
                    RFCTRUSTSY:
                      type: string
                      maxLength: 32
                      description: Trusted sytsem (for R/3 and external systems)
                    RFCTSTACTV:
                      type: string
                      maxLength: 1
                      description: No display in the trusting system list
                    RFCMSGSRV:
                      type: string
                      maxLength: 100
                      description: Name of target host
                    RFCGROUP:
                      type: string
                      maxLength: 64
                      description: Logon Group for Load Balancing Mode
                    RFCSNC:
                      type: string
                      maxLength: 1
                      description: RFC Secure Network Communication (HTTP SSL)
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    RFCCREDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    RFCREGDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    RFCVERSION:
                      type: string
                      maxLength: 32
                      description: Version ID for table entry
                    RFCATRUSER:
                      type: string
                      maxLength: 12
                      description: Last Changed By
                    RFCATRDATE:
                      type: string
                      format: date
                      description: Changed On
                    RFCCREUSER:
                      type: string
                      maxLength: 12
                      description: Created by
                    RFCCREDATE:
                      type: string
                      format: date
                      description: Created on
                    RFCSLOPT:
                      type: string
                      maxLength: 250
                      description: Options for RFC single logon environment
              required:
              - RFCTRUST_SYSTEM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RFCSI_INFO:
                    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
                  RFCSYSACL_IMPORT:
                    type: object
                    properties:
                      RFCSYSID:
                        type: string
                        maxLength: 32
                        description: Trusted sytsem (for R/3 and external systems)
                      RFCTRUSTSY:
                        type: string
                        maxLength: 32
                        description: Trusted sytsem (for R/3 and external systems)
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCCREDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCREGDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCMSGSRV:
                        type: string
                        maxLength: 100
                        description: Name of target host
                      RFCGROUP:
                        type: string
                        maxLength: 64
                        description: Logon Group for Load Balancing Mode
                      RFCSNC:
                        type: string
                        maxLength: 1
                        description: RFC Secure Network Communication (HTTP SSL)
                      RFCSECTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of RFC Authentication  enumValues: N=NT Authentication,3=ABAP Authentication'
                        enum:
                        - N
                        - '3'
                      RFCSECKEY:
                        type: string
                        maxLength: 250
                        description: Security key
                      RFCDELAYT:
                        type: string
                        maxLength: 6
                        description: Validity Period
                      RFCDELAYD:
                        type: integer
                        format: int32
                        description: Number of days delay
                      RFCPASSWD:
                        type: string
                        maxLength: 1
                        description: Password check for RFC single login
                      RFCUSRCHK:
                        type: string
                        maxLength: 1
                        description: Check RFC users
                      RFCTCDCHK:
                        type: string
                        maxLength: 1
                        description: Use/ check transaction code
                      RFCSECACTV:
                        type: string
                        maxLength: 1
                        description: Trusted system entry inactive?
                      RFCTSTACTV:
                        type: string
                        maxLength: 1
                        description: No display in the trusting system list
                      RFCATRUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed By
                      RFCATRDATE:
                        type: string
                        format: date
                        description: Changed On
                      RFCCREUSER:
                        type: string
                        maxLength: 12
                        description: Created by
                      RFCCREDATE:
                        type: string
                        format: date
                        description: Created on
                      RFCSLOPT:
                        type: string
                        maxLength: 250
                        description: Options for RFC single logon environment
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
