HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getSplitMasterId

Queries the ID of the master mailing, which is associated with a specific split mailing in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the split mailing

Return values

ID of the master mailing that is associated with the split mailing.

If no master mailing is found (i.e., the specified mailing is no split mailing), 0 is returned.

Code structure

long getSplitMasterId(String sessionId, long mailingId)

What’s Next
Did this page help you?