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

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)