HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog 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)

What’s Next
Did this page help you?