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

getMailingIdByWaveId

Queries the ID of the sent mailing by means of the waveId in Optimizely Campaign.

The waveId uniquely identifies the mailing sent with this closed loop process.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
waveIdlongID returned by prepareNewWave

Return values

ID of the sent mailing

Returns 0 if no mailing has yet been sent for the specified waveId.

Code structure

long getMailingIdByWaveId(String sessionId, long waveId)