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