setAttributesByFilter
Defines new values for specific attributes of all recipients contained in a specific recipient list in Optimizely Campaign.
Type: void
Parameters
| Name | Type | Value |
|---|---|---|
| sessionId | String | ID of the session |
| recipientListId | long | ID of the recipient list |
| recipientFilterId | long | ID of the recipient |
| attributeNames | String[ ] | Names of the fields (e.g. firstname, lastname etc.) to be updated |
| attributeValues | String[ ] | New values for the attributes/fields defined with attributeNames. Each entry must be formatted according to the formatting rules. |
| mode | String | For fields of the type String this parameter can be set to:
|
Return values
-
Code structure
void setAttributesByFilter(String sessionId, long recipientListId, long recipientFilterId, String[] attributeNames, String[] attributeValues, String mode)
Updated 3 months ago