openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_FAVOURITE_SET_SU:
    post:
      tags:
      - WP_PERS_WRITE
      operationId: /rfc/WP_FAVOURITE_SET_SU
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  maxLength: 2
                  description: Language ID (ISO Standard)
                NEW_WINDOW:
                  type: string
                  maxLength: 1
                  description: General Flag
                NODE_TYPE:
                  type: string
                  maxLength: 1
                  description: Type of node ( U = URL, F = folder, T = transaction)
                START_MINI:
                  type: string
                  maxLength: 1
                  description: General Flag
                TARGET_ID:
                  type: integer
                  format: int64
                  description: Number of a Node in the Workplace LaunchPad
                TARGET_SYS:
                  type: string
                  maxLength: 10
                  description: Logical System
                TCODE:
                  type: string
                  maxLength: 20
                  description: ABAP Program, Current Transaction Code
                TEXT:
                  type: string
                  maxLength: 80
                  description: Menu entry text
                URL:
                  type: string
                  maxLength: 2000
                  description: URL for SAP Portal
              required:
              - LANGUAGE
              - TARGET_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_ID:
                    type: integer
                    format: int64
                    description: Number of a Node in the Workplace LaunchPad
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
