POST api/Users/reportUser

Request Information

URI Parameters

None.

Body Parameters

Report
NameDescriptionTypeAdditional information
ID

integer

None.

reporter_name

string

None.

reported_user_id

integer

None.

massege

string

None.

report_date

date

None.

response

string

None.

reporter_number

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "reporter_name": "sample string 2",
  "reported_user_id": 1,
  "massege": "sample string 3",
  "report_date": "2025-04-11T05:38:17.9230821+00:00",
  "response": "sample string 4",
  "reporter_number": "sample string 5"
}

application/xml, text/xml

Sample:
<Report xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/asanRishta.Models">
  <ID>1</ID>
  <massege>sample string 3</massege>
  <report_date>2025-04-11T05:38:17.9230821+00:00</report_date>
  <reported_user_id>1</reported_user_id>
  <reporter_name>sample string 2</reporter_name>
  <reporter_number>sample string 5</reporter_number>
  <response>sample string 4</response>
</Report>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>