Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

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)