HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getMailingId

Queries the mailing ID (parameter mailingId) in Optimizely Campaign.

๐Ÿ“˜

Note

The mailing must have been sent. Only then is a mail ID created.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
mailIdStringMail ID

Return values

Mailing ID

Code structure

long getMailingId(String sessionId, String mailId)

Whatโ€™s Next