HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

getAssignedMailings

Queries the IDs of the mailings in which a coupon block was used in Optimizely Campaign.

Type: long[ ]

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block

Return values

The IDs of all mailings in which this block has been used

Code structure

long[] getAssignedMailings(String sessionId, long blockId)

What’s Next
Did this page help you?