openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_CREATE_R3_RFC_DEST:
    post:
      tags:
      - SAIO
      summary: Create R/3 RFC Destination
      operationId: /rfc/INST_CREATE_R3_RFC_DEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  default: I
                  maxLength: 1
                  description: Trace?
                ARFC_ACTIVE:
                  type: string
                  default: X
                  maxLength: 1
                  description: Asynchronous RFC - load check active
                ARFC_CYCLE:
                  type: integer
                  format: int32
                  default: 10
                  description: Asynchronous RFC - Analysis period for system load
                ARFC_METHOD:
                  type: string
                  default: S
                  maxLength: 1
                  description: Asynchronous RFC - Procedures for load check
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                  description: Trace?
                CLIENT:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: Explicit logon client
                DEQUEUE_SYNCHRON:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Synchronous call ? (no rollout with RECEIVE)
                DESCRIPTION:
                  type: string
                  default: ' '
                  maxLength: 72
                  description: Description of RFC connection
                DESTCOPY:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                DESTINATION:
                  type: string
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                DESTLOCK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Display type of destination (modifiable and not modifiable)
                GROUP:
                  type: string
                  default: PUBLIC
                  maxLength: 64
                  description: Logon group for load distribution mode
                GWHOST:
                  type: string
                  default: ' '
                  maxLength: 1024
                  description: Gateway host name
                GWSERVICE:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Gateway service
                KEEP_PASSWORD:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Explicit language
                LOADBALANCING:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: RFC via load distribution procedure (Load Balancing)
                PASSWORD:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Explicit password
                PASSWORDSCR:
                  type: string
                  default: X
                  maxLength: 1
                  description: Unencrypted password
                RFCBITMAP:
                  type: string
                  format: byte
                  default: '00000000'
                  description: 4 Bytes used in RFC Fields
                RFCCONVERT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Conversion for Non-Compatible Codepage? (SPACE, 'I', 'N')
                RFCCONVX:
                  type: string
                  format: byte
                  default: '0023'
                  description: 2 Bytes used in RFC Fields
                RFCLOGON_GUI:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Logon screen for RFC logon
                RFCUNICODE:
                  type: integer
                  format: int64
                  default: 1
                  description: Number of Bytes per Character (Unicode System)
                RFCWAN:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' -> Slow RFC Connection (in WAN)'
                SAME_USER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Current User
                SAVEHOSTNAME:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Save target host as hostname?
                SERVER:
                  type: string
                  default: ' '
                  maxLength: 1024
                  description: Name of target host
                SNC_PARAM:
                  type: object
                  properties:
                    SNC_QOP:
                      type: string
                      maxLength: 1
                      description: 'SNC: Quality of protection  enumValues: 8=Default (profile parameter snc/data_protection/use),9=Max. available (Profileparameter snc/data_protection/max),1=Secure authentication only,2=Integrity protection of data,3=Confidentiality of data /'
                      enum:
                      - '8'
                      - '9'
                      - '1'
                      - '2'
                      - '3'
                    SNC_PNAME:
                      type: string
                      maxLength: 255
                      description: 'SNC: Printable name of the aplication server'
                SYSTEMID:
                  type: string
                  default: ' '
                  maxLength: 8
                  description: System ID
                SYSTEMNR:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Service used (TCP service, SAP System number)
                TRACE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Trace?
                TRFCBTCDELAY:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: 'TRFC: Time between repeat attempts'
                TRFCBTCSUPPR:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'TRFC: Do not schedule background jobs if conn. error occurs'
                TRFCBTCTRIES:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: 'TRFC: Connection attempt up to task'
                TRUSTED_SYSTEM:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Trusted system (RFC single logon)
                USER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Explicit user ID
              required:
              - DESTINATION
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
