Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getCount

Counts mailings of a specific type in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingTypeStringType of the mailing  (regular, event, confirmation, template, campaign, split)

Return values

Number of all mailings of the given type

Code structure

int getCount(String sessionId, String mailingType)