A reward is a type of item that is triggered when a reward is attached to a competition, contest or an achievement and the rules of the competition, contest or an achievement has been fulfilled to achieve such an item. Multiple rewards can be created within one competition, contest or achievement and multiple rewards can be issued.

What can you do?

Available Resources

  • Retrieve a list of rewards;
  • Get reward details for the ID specified;
  • Get reward details for the entity ID specified;
  • Retrieve a list of rewards by the ID's;
  • Reward creation that is part of the Achievement or Contest creation.

Domain Object

Reward model


Parameter

Type

Description
















Request















Response
GETPUTPOSTDELETEGETPUTPOSTDELETE
entityId
StringAchievement id or Contest id
YesYes
YesYesYes

entityType
StringCan be achievement or contest
YesYes
YesYesYes
rewardRank
StringIf used in the context of contest this will associate with the rank of the leaderboard
YesYes
YesYesYes
rewardName
StringThe name of a reward
YesYes
YesYesYes
value
DoubleNumerical value of the reward that will be issued based on the reward type
YesYes
YesYesYes
rewardType
StringA unique identifier of the Reward Type
YesYes
YesYesYes
description
StringThe description of a Reward 
YesYes
YesYesYes
delay
IntegerDelay of issuing a reward in minutes
YesYes
YesYesYes
memberAcknowledgmentRequired
BooleanRequires member acknowledgment to claim a reward. If set to True reward will not be automatically issued
OptionalOptional

YesYesYes
metadata
Array [Object]A list of Metadata
YesYes
YesYesYes
accountId
StringUnique identifier of your account



YesYesYes
pointInTime
DateTimeReward is available until a specific point in time
OptionalOptional
YesYesYes
period
IntegerReward available for a period of time from issuing
OptionalOptional
YesYesYes
created
DateTimeISO8601 timestamp for when a Reward was created. All records are stored in UTC time zone.



YesYesYes
id
StringUnique system identifier of a Reward



YesYesYes
translations
ObjectIt is a key-value pair of language code and a list of translations. The translatable fields are "rewardName" and "description". Translation model
OptionalOptional
YesYesYes