Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

setContent

Defines the content of an attachment in Optimizely Campaign.

Type: void

Parameters

NameTypeValue
sessionIdStringID of the session
attachmentIdlongID of the attachment
contentbyte[ ]Content of the attachment (in binary form)

Return values

  • Code structure

    void setContent(String sessionId, long attachmentId, byte[] content)