HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

setAttributesInBatchFlat

Defines new values for specific attributes of multiple recipients in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
recipientIdsString[ ]IDs of the recipients
attributeNamesString[ ]Names of the fields (e.g., firstname, lastname etc.) to be updated
flatAttributeValuesString[ ]New values for the attributes/fields defined with attributeNames

Each entry must be formatted according to the formatting rules.

Return values

  • Code structure

    void setAttributesInBatchFlat(String sessionId, long recipientListId, String[] recipientIds, String[] attributeNames, String[] flatAttributeValues)
    

Did this page help you?