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": "2ae40ef0-d7c4-475c-bae5-057c204384a7", "CreationDate": "2024-12-23T05:33:30.5311686-06: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>2024-12-23T05:33:30.5311686-06:00</CreationDate> <ID>1</ID> <LangID>1</LangID> <Message>sample string 3</Message> <Title>sample string 2</Title> <UserID>2ae40ef0-d7c4-475c-bae5-057c204384a7</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. |