Disclaimer: This website requires JavaScript to function properly. Some features may not work as expected. Please enable JavaScript in your browser settings for the best experience.

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

getMandatorId

Queries the client ID in Optimizely Campaign.

Throws an exception if the current logged in user has no permission for the client to which the mail ID belongs.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
mailIdStringMail ID

Return values

Client ID

Code structure

long getMandatorId(String sessionId, String mailId)