openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_FAVOURITE_UPDATE:
    post:
      tags:
      - WP_USER_MENU
      operationId: /rfc/WP_FAVOURITE_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_PARENT:
                  type: string
                  maxLength: 1
                  description: General Flag
                CHANGE_PERS:
                  type: string
                  maxLength: 1
                  description: General Flag
                CHANGE_TARGET:
                  type: string
                  maxLength: 1
                  description: General Flag
                CHANGE_TEXT:
                  type: string
                  maxLength: 1
                  description: General Flag
                CHANGE_URL:
                  type: string
                  maxLength: 1
                  description: General Flag
                NODE_ID:
                  type: integer
                  format: int64
                  description: Number of a Node in the Workplace LaunchPad
                PARENT_ID:
                  type: integer
                  format: int64
                  description: Number of a Node in the Workplace LaunchPad
                PERS_MINI:
                  type: string
                  maxLength: 1
                  description: General Flag
                PERS_WIN:
                  type: string
                  maxLength: 1
                  description: General Flag
                TARGET_ID:
                  type: integer
                  format: int64
                  description: Number of a Node in the Workplace LaunchPad
                TEXT:
                  type: string
                  maxLength: 80
                  description: Menu entry text
                URL:
                  type: string
                  maxLength: 2000
                  description: URL for SAP Portal
                USER_NAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Workplace User, R/3 Logon Name
              required:
              - NODE_ID
              - USER_NAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
