openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_CREATE_TCPIP_RFCDEST:
    post:
      tags:
      - INSTALL
      operationId: /rfc/INST_CREATE_TCPIP_RFCDEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  default: I
                  maxLength: 1
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                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)
                GWHOST:
                  type: string
                  default: ' '
                  maxLength: 1024
                  description: Gateway host name
                GWSERVICE:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Gateway Service
                METHOD:
                  type: string
                  default: A
                  maxLength: 64
                  description: Identification of a registered RFC server program
                PROGRAM:
                  type: string
                  default: ' '
                  maxLength: 1024
                  description: Program name (complete path)
                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
                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)'
                SERVER:
                  type: string
                  default: ' '
                  maxLength: 1024
                  description: Name of target host
                TRACE:
                  type: string
                  default: ' '
                  maxLength: 1
                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'
              required:
              - DESTINATION
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
