...
Code Block |
---|
{"success" : "false", "message" : "Message when success is false."} |
Add a Challenge to a Category
POST /ssp/api/1/reference/category/{id}/challenge
Sample Post
Code Block |
---|
{"categoryId" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
"challengeId" : "240e97c0-7fe5-11e1-b0c4-0800200c9a66"} |
Returns
Code Block |
---|
{"success" : "true"} |
or
Code Block |
---|
{"success" : "false",
"message" : "Message when success is false."} |
Remove a Challenge from a Category
DELETE /ssp/api/1/reference/category/{id}/challenge
Sample Post
Code Block |
---|
{"categoryId" : "23befc50-7f91-11e1-b0c4-0800200c9a66",
"challengeId" : "240e97c0-7fe5-11e1-b0c4-0800200c9a66"} |
Returns
Code Block |
---|
{"success" : "true"} |
or
Code Block |
---|
{"success" : "false",
"message" : "Message when success is false."} |