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


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


sessionIdStringID of the session
mailIdStringMail ID

Return values

Client ID

Code structure

long getMandatorId(String sessionId, String mailId)