openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAP_BIW_CONNECT:
    post:
      tags:
      - RSAG
      operationId: /rfc/RSAP_BIW_CONNECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BASIC_IDOC:
                  type: string
                  maxLength: 30
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_LOGSYS:
                  type: string
                  maxLength: 10
                I_PREFIXE:
                  type: string
                  maxLength: 35
                I_RESTORE:
                  type: string
                  maxLength: 1
                I_SAPRL:
                  type: string
                  default: SY-SAPRL
                  maxLength: 4
                I_SLOGSYS:
                  type: string
                  maxLength: 10
                  description: Source system name
                I_STEXT:
                  type: string
                  maxLength: 20
                I_TSPREFIX:
                  type: string
                  maxLength: 2
              required:
              - I_BASIC_IDOC
              - I_LOGSYS
              - I_PREFIXE
              - I_SLOGSYS
              - I_STEXT
              - I_TSPREFIX
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SAPRL:
                    type: string
                    maxLength: 4
                  E_TSPREFIX:
                    type: string
                    maxLength: 2
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
