Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunitySubmit a ticketLog In

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)