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


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)