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

getContent

Queries the content of an attachment in Optimizely Campaign.

Type: byte[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment

Return values

Content of the attachment

Code structure

byte[] getContent(String sessionId, long attachmentId)