Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


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

Type: long[ ]


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)