HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)

What’s Next
Did this page help you?