POST api/Challenges/ReportPost

Request Information

URI Parameters

None.

Body Parameters

ChallengePostReportModel
NameDescriptionTypeAdditional information
challengePostId

integer

None.

accountId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "challengePostId": 1,
  "accountId": 2
}

text/plain, application/octet-stream

Sample:
{"challengePostId":1,"accountId":2}

application/xml, text/xml

Sample:
<ChallengePostReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Services.Challenges">
  <accountId>2</accountId>
  <challengePostId>1</challengePostId>
</ChallengePostReportModel>

multipart/form-data, application/form-data

Sample:
<ChallengePostReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Services.Challenges"><accountId>2</accountId><challengePostId>1</challengePostId></ChallengePostReportModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

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.