Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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)