SysDeleteQuest
Deletes the specified quest.
Service | Operation |
---|---|
gamification | SYS_DELETE_QUEST |
Method Parameters
Parameter | Description |
---|---|
questId | The id of the quest to delete |
version | The current revision of the quest. Use -1 to bypass the version-check. |
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 questId = "QUEST_CRUSH52";
var gamificationProxy = bridge.getGamificationServiceProxy();
// Delete the quest.
var postResult = gamificationProxy.sysDeleteQuest(questId, -1);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": null
}