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

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)