Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getIdsInStatus

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

Type: long[ ]

Parameters

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

  • Status of the mailing (NEW, SENDING, DONE and CANCELED)

  • Status of the campaign (ACTIVATION_REQUIRED)

Return values

IDs of all mailings of the given type and status

Code structure

long[] getIdsInStatus(String sessionId, String mailingType, String mailingStatus)

Did this page help you?