Disclaimer: This website requires 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

getCreated

Queries the creation date of a coupon code in Optimizely Campaign.

Type: Date

Parameters

NameTypeValue
sessionIdStringID of the current session
blockIdlongID of the coupon block
codeStringCoupon code to be queried

Return values

The creation date of the coupon code.

Code structure

Date getCreated(String sessionId, long blockId, String code)