POST api/AddComplaint
Request Information
URI Parameters
None.
Body Parameters
ComplaintName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Title | string |
None. |
|
Message | string |
None. |
|
LangID | integer |
None. |
|
UserID | globally unique identifier |
None. |
|
CreationDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Title": "sample string 2", "Message": "sample string 3", "LangID": 1, "UserID": "a4074307-7732-46d0-b467-851a925e896f", "CreationDate": "2025-04-04T00:43:04.9724489-05:00" }
application/xml, text/xml
Sample:
<Complaint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities"> <CreationDate>2025-04-04T00:43:04.9724489-05:00</CreationDate> <ID>1</ID> <LangID>1</LangID> <Message>sample string 3</Message> <Title>sample string 2</Title> <UserID>a4074307-7732-46d0-b467-851a925e896f</UserID> </Complaint>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |