Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

getUnAssignedCodeCount

Counts the coupon codes of a coupon block that are still available in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block

Return values

The number of available (unassigned) coupon codes in this block

Code structure

long getUnAssignedCodeCount(String sessionId, long blockId)

Next