Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

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

Name

Type

Value

sessionId

String

ID of the session

mailingType

String

Type of the mailing (regular, event, confirmation, template, campaign, split)

mailingStatus

String

  • 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)