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

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)