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

getIds

Queries the IDs of all mailings of a specific type in Optimizely Campaign.

Type: long[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
mailingTypeStringType of the mailing  (regular, event, confirmation, template, campaign, split)

Return values

IDs of all mailings of the given type

Code structure

long[] getIds(String sessionId, String mailingType)