Newer Version Available

This content describes an older version of this product. View Latest

Recommendation Definition

Get information about, modify, or delete a recommendation definition.

Community managers (users with the “Create and Set Up Communities” or “Manage Communities” permission) can access, create, and delete audiences, definitions, and schedules for community recommendations. Users with the “Modify All Data” permission can also access, create, and delete recommendation audiences, recommendation definitions, and scheduled recommendations.

Resource
1/connect/recommendation-definitions/recommendationDefinitionId
1/connect/communities/communityId/recommendation-definitions/recommendationDefinitionId
Available version
33.0
Requires Chatter
No
HTTP methods
GET, HEAD, PATCH, DELETE
Request body for PATCH
JSON example
1{ 
2   "actionUrl" : "https://www.example.com",
3   "actionUrlName" : "Launch",
4   "explanation" : "Click this link to learn more!",
5   "name" : "Corporate Training Project",
6   "title" : "Want to learn more about Corporate Training Project?"}
Properties
Name Type Description Required or Optional Available Version
actionUrl String The URL for acting on the recommendation, for example, the URL to join a group. Optional 33.0
actionUrlName String The text label for the action URL in the user interface, for example, “Launch.” Optional 34.0
explanation String The explanation, or body, of the recommendation. Optional 33.0
name String The name of the recommendation definition. The name is displayed in Setup. Optional 33.0
title String The title of the recommendation definition. Optional 33.0
Request parameters for PATCH
Parameter Name Type Description Required or Optional Available Version
actionUrl String The URL for acting on the recommendation, for example, the URL to join a group. Optional 33.0
actionUrlName String The text label for the action URL in the user interface, for example, “Launch.” Optional 34.0
explanation String The explanation, or body, of the recommendation. Optional 33.0
name String The name of the recommendation definition. The name is displayed in Setup. Optional 33.0
title String The title of the recommendation definition. Optional 33.0
Response body for GET and PATCH
Recommendation Definition
Response for DELETE
204: Successful Delete