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

prepareNewWave

Starts the closed loop process for a mailing in Optimizely Campaign.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
templateMailingIdlongMailing ID
This ID can be found in the mailing overview or can be retrieved by calling the MailingWebservice getIds or getIdsInStatus methods. This ID is also returned when creating a new mailing (see create).

Return values

waveId – This ID identifies the closed loop process and is used by other methods of this web service.

Code structure

long prepareNewWave(String sessionId, long templateMailingId)