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

getProperty

Queries the value of a specific mailing property in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
NameStringName of the mailing property

Return values

Value of the mailing property

If the property is not set, NULL is returned. See also setProperty.

Code structure

String getProperty(String sessionId, long mailingId, String name)