openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MWP_FAVOURITE_CREATE:
    post:
      tags:
      - MWP_USER_MENU
      operationId: /rfc/MWP_FAVOURITE_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEV_TYPE:
                  type: string
                  default: WAP1
                  maxLength: 30
                  description: Device Type
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 2
                  description: Language ID (ISO Standard)
                NODE_TYPE:
                  type: string
                  default: U
                  maxLength: 1
                  description: Type of node ( U = URL, F = folder, T = transaction)
                PARENT_ID:
                  type: integer
                  format: int64
                  default: 0
                  description: Number of a Node in the Workplace LaunchPad
                TEXT:
                  type: string
                  maxLength: 80
                  description: Menu entry text
                URL:
                  type: string
                  default: http://
                  maxLength: 100
                  description: URL for SAP Portal
                USER_NAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Workplace User, R/3 Logon Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_OBJECT_ID:
                    type: integer
                    format: int64
                    description: Number of a Node in the Workplace LaunchPad
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
