openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MWP_FAVOURITE_COPY:
    post:
      tags:
      - MWP_USER_MENU
      operationId: /rfc/MWP_FAVOURITE_COPY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 2
                  description: Language ID (ISO Standard)
                OBJECT_ID:
                  type: integer
                  format: int64
                  description: Number of a Node in the Workplace LaunchPad
                PARENT_ID:
                  type: integer
                  format: int64
                  default: 0
                  description: Number of a Node in the Workplace LaunchPad
                USER_NAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Workplace User, R/3 Logon Name
              required:
              - LANGUAGE
              - OBJECT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_OBJECT_ID:
                    type: integer
                    format: int64
                    description: Counter for menu ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
