Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getModified

Queries the date on which the coupon code was last modified 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 last modification date of the coupon code

Code structure

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