openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_CREATE_RFC_DEST:
    post:
      tags:
      - TREX_ARW_ADMINISTRATION
      summary: Creates an RFC Dest for TREX; used in Admin Tool
      operationId: /rfc/TREX_ARW_CREATE_RFC_DEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  format: byte
                  description: Trace?
                DESCRIPTION:
                  type: string
                  format: byte
                  description: Description of RFC connection
                DESTINATION:
                  type: string
                  format: byte
                  description: Logical Destination (Specified in Function Call)
                GWHOST:
                  type: string
                  format: byte
                  description: Gateway Host Name
                GWSERVICE:
                  type: string
                  format: byte
                  description: Gateway service
                METHOD:
                  type: string
                  format: byte
                  description: Identification of a registered RFC server program
                PROGRAM:
                  type: string
                  format: byte
                  description: Program Name (Complete Path)
              required:
              - ACTION
              - DESCRIPTION
              - DESTINATION
              - GWHOST
              - GWSERVICE
              - METHOD
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
