HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog 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)

What’s Next
Did this page help you?