HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getName

Queries the name of a coupon block in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block

Return values

The name of the coupon block

Code structure

String getName(String sessionId, long blockId)

What’s Next