POST api/AddComplaint

Request Information

URI Parameters

None.

Body Parameters

Complaint
NameDescriptionTypeAdditional 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": "64a2cebc-c1b7-4711-93d5-58f071dccfb1",
  "CreationDate": "2024-11-14T12:24:17.9379057-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-11-14T12:24:17.9379057-06:00</CreationDate>
  <ID>1</ID>
  <LangID>1</LangID>
  <Message>sample string 3</Message>
  <Title>sample string 2</Title>
  <UserID>64a2cebc-c1b7-4711-93d5-58f071dccfb1</UserID>
</Complaint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.