openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MWP_FAVOURITE_GET:
    post:
      tags:
      - MWP_USER_MENU
      operationId: /rfc/MWP_FAVOURITE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEV_TYPE:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Device Type
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 2
                  description: Language ID (ISO Standard)
                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
                FAVO_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      NODE_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of node ( U = URL, F = folder, T = transaction)
                      URL:
                        type: string
                        maxLength: 100
                        description: Character 100
                      DEV_TYPE:
                        type: string
                        maxLength: 30
                        description: Device Type
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FAVO_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        NODE_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of node ( U = URL, F = folder, T = transaction)
                        URL:
                          type: string
                          maxLength: 100
                          description: Character 100
                        DEV_TYPE:
                          type: string
                          maxLength: 30
                          description: Device Type
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
