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