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


Queries all coupon codes of a coupon block that have been used for a mailing in Optimizely Campaign.

A maximum of 1,000 entries can be returned per query.

Type: String[ ]


sessionIdStringID of the current session
blockIdlongID of the coupon block
mailingIdlongID of the mailing
startEntryinteger(optional) Number of the entry to start with
numberOfEntriesinteger(optional) Maximum number of entries to return

Return values

All coupon codes used in the queried mailing

Code structure

String[] getAllAssigned(String sessionId, long blockId, long mailingId, int startEntry, int numberOfEntries)