POST api/ComplaintAAPI/AddComplait
Request Information
URI Parameters
None.
Body Parameters
Complaint| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| ComplaintDetail | string |
None. |
|
| UserId | integer |
None. |
|
| AdvId | integer |
None. |
|
| CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ComplaintDetail": "sample string 2",
"UserId": 3,
"AdvId": 4,
"CreationDate": "2026-01-08T21:36:45.2423569-08:00"
}
application/xml, text/xml
Sample:
<Complaint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarAdsApi.Models"> <AdvId>4</AdvId> <ComplaintDetail>sample string 2</ComplaintDetail> <CreationDate>2026-01-08T21:36:45.2423569-08:00</CreationDate> <Id>1</Id> <UserId>3</UserId> </Complaint>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |