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

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