POST api/Challenges/DeleteChallenge
Request Information
URI Parameters
None.
Body Parameters
ChallengeOwnerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| challengeId | integer |
Required |
|
| ownerId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"challengeId": 1,
"ownerId": 1
}
text/plain, application/octet-stream
Sample:
{"challengeId":1,"ownerId":1}
application/xml, text/xml
Sample:
<ChallengeOwnerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Services.Challenges"> <challengeId>1</challengeId> <ownerId>1</ownerId> </ChallengeOwnerModel>
multipart/form-data, application/form-data
Sample:
<ChallengeOwnerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Services.Challenges"><challengeId>1</challengeId><ownerId>1</ownerId></ChallengeOwnerModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data
Sample:
Sample not available.