Newer Version Available
Personalization Targets
Get a list of targets that match the user context, based on the
assigned audiences that include the user. Create and update targets.
- Resource
-
1/connect/communities/communityId/personalization/targets - Available version
- 47.0
- Requires Chatter
- No
- HTTP methods
- GET, POST, PATCH
- Request parameters for GET
-
- Request body for POST
-
Create targets using POST with the Target Collection Input.
- Root XML tag
- <targetCollection>
- JSON example
-
1{ 2 "targets": [{ 3 "audienceId":"6AuRM0000004D5w0AE", 4 "groupName":"2b8bc305-d415-49f9-8e24-814455427324", 5 "priority":1, 6 "publishStatus":"Draft", 7 "targetType":"ExperienceVariation", 8 "targetValue":"ContactSupport_ContactSupportForCalifornia_Page" 9 } 10 ] 11} - Properties
-
Name Type Description Required or Optional Available Version targets Target Input[] List of targets to create. Required 47.0
- Request body for PATCH
-
Update targets, such as assigning audiences to targets, using PATCH with the Target Collection Update Input.
- Root XML tag
- <targetCollection>
- JSON example
-
1{ 2 "targets": [{ 3 "audienceId":"6AuRM0000004D5w0AE", 4 "priority":1, 5 "targetId":"6AtRM0000000II30AM" 6 } 7 ] 8} - Properties
-
Name Type Description Required or Optional Available Version targets Target Update Input[] List of targets to update. Required 47.0
- Response body for GET, POST, and PATCH
- Target Collection