ResetMilestones
Resets the specified milestones' statuses.
Service | Operation |
---|---|
gamification | RESET_MILESTONES |
Method Parameters
Parameter | Description |
---|---|
milestones | A list of milestones' IDs to reset |
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 milestones = [ "1" ];
var gamificationProxy = bridge.getGamificationServiceProxy();
var postResult = gamificationProxy.resetMilestones(milestones);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}