Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Game Result
Output representation of the game reward that a participant has won.
- JSON example
- Here’s an example of a reward won by the participant for the Spin the Wheel game:
-
1{ 2 "errorMessage":null, 3 "gameReward":[ 4 { 5 "color":"01CD6C", 6 "description":”Loyalty Points”, 7 "gameRewardId":"3GRSB0000000Caf4AE", 8 "imageUrl":null, 9 "issuedRewardReference":"0lVSB000000032j2AA", 10 "name":"1000 Reward Points", 11 "rewardType":"LoyaltyPoints", 12 "rewardValue":"100.0" 13 } 14 ], 15 "status":true 16}
| Property Name | Type | Description | Filter Group and Version | Available Version |
|---|---|---|---|---|
| errorMessage | String | Error message that provides the reason why the details of the participant reward weren’t found. | Small, 60.0 | 60.0 |
| gameReward | Game Reward Details [] | Details of the game reward won by the participant. | Small, 60.0 | 60.0 |
| status | Boolean | Indicates whether the request succeeded (true) or failed (false). | Small, 60.0 | 60.0 |