openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_LAUNCH_R3_TRANSACTION:
    post:
      tags:
      - WP_SERVICES
      summary: Workplace interface to start R/3 transactions
      operationId: /rfc/WP_LAUNCH_R3_TRANSACTION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Language ID (ISO Standard)
                SERVICE_ID:
                  type: string
                  maxLength: 64
                  description: Transaction Code
                SERVICE_LOGSYS:
                  type: string
                  default: ' '
                  maxLength: 10
                  description: Logical System
                USER_NAME:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Workplace User, R/3 Logon Name
              required:
              - SERVICE_ID
              - USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SERVICE_URL:
                    type: string
                    maxLength: 2048
                    description: URL for a Service
                  WP_URL_TYPE:
                    type: string
                    maxLength: 20
                    description: Workplace URL Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
