openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TH_CREATE_FOREIGN_MODE:
    post:
      tags:
      - THFB2
      operationId: /rfc/TH_CREATE_FOREIGN_MODE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  maxLength: 3
                  description: R/3 System, Client Number from Logon
                CREATE_EXCLUSIVE:
                  type: integer
                  format: int32
                  default: 0
                  description: Loops, Current Loop Pass
                RETURN_ERROR:
                  type: integer
                  format: int32
                  default: 1
                  description: SAP R/3 System, Current Language
                TCODE:
                  type: string
                  maxLength: 20
                  description: PopUp text
                USER:
                  type: string
                  maxLength: 12
                  description: SAP System, User Logon Name
              required:
              - CLIENT
              - USER
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
