HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)
    

    What’s Next
    Did this page help you?