Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Defines new values for specific attributes of a recipient in Episerver Campaign.



Transactional recipient lists (that is, recipient lists that can only be used for API calls) cannot be updated using this method.

Type: void


sessionIdStringID of the session
recipientListIdlongID of the recipient list
recipientIdStringID of the recipient
attributeNamesString[ ]Field names of the fields (e.g., firstname, lastname etc.) that are to be updated
attributeValuesString[ ]New values for the attributes/fields defined with attributeNames

Each entry must be formatted according to the formatting rules.

Return values

  • Code structure

    void setAttributes(String sessionId, long recipientListId, String recipientId, String[] attributeNames, String[] attributeValues)