openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCWB_RFC_CREATE_DEST:
    post:
      tags:
      - SCW2
      operationId: /rfc/SCWB_RFC_CREATE_DEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CSSYSTEM:
                  type: string
                  default: ' '
                  maxLength: 1
                I_DEST_PRAEFIX:
                  type: string
                  maxLength: 32
                I_LANGU:
                  type: string
                  maxLength: 1
                I_REPLACE_DEST:
                  type: string
                  default: X
                  maxLength: 1
                I_RFCAUTH:
                  type: string
                  default: SAPTEST
                  maxLength: 40
                I_RFCCLIENT:
                  type: string
                  default: '004'
                  maxLength: 3
                I_RFCHOST:
                  type: string
                  default: pawdf059
                  maxLength: 1024
                  description: Host Name
                I_RFCLOAD:
                  type: string
                  default: ''
                  maxLength: 64
                  description: Instance
                I_RFCSERVICE:
                  type: string
                  default: '46'
                  maxLength: 2
                  description: Instance
                I_RFCUSER:
                  type: string
                  default: MUSTER01
                  maxLength: 12
                I_SYSID:
                  type: string
                  default: Q45
                  maxLength: 8
                  description: System ID
              required:
              - I_DEST_PRAEFIX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RFCDEST:
                    type: string
                    maxLength: 32
                    description: RFC destination
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
