Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getCodeCount

Counts the coupon codes contained in a coupon block in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block

Return values

The number of coupon codes in this block

Code structure

long getCodeCount(String sessionId, long blockId)

Did this page help you?