UpdateRewards
Updates player rewards.
Service | Operation |
---|---|
gamification | UPDATE_REWARDS |
Method Parameters
Parameter | Description |
---|---|
includeMetaData | Whether to return meta data as well |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var includeMetaData = false;
var gamificationProxy = bridge.getGamificationServiceProxy();
var postResult = gamificationProxy.updateRewards(includeMetaData);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status":200,
"data":null
}