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

getContent

Queries the content of a mailing of a specific MIME type in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
mimeTypeStringMIME type (text/plain or text/html) of the mailing

Return values

Content of the mailing

Code structure

String getContent(String sessionId, long mailingId, String mimeType)