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

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

setAttachmentIds

Defines the IDs for one or more attachments of a mailing in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
attachmentIdslong[ ]IDs of the attachments

Return values

  • Code structure

    void setAttachmentIds(String sessionId, long mailingId, long[] attachmentIds)