POST api/Feedback

Request Information

URI Parameters

None.

Body Parameters

utblFeedback
NameDescriptionTypeAdditional information
FeedbackID

integer

None.

Title

string

None.

Description

string

None.

PostedOn

date

None.

Username

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FeedbackID": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "PostedOn": "2017-08-19T12:56:27.1931173+05:30",
  "Username": "sample string 5"
}

application/xml, text/xml

Sample:
<utblFeedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Models">
  <Description>sample string 3</Description>
  <FeedbackID>1</FeedbackID>
  <PostedOn>2017-08-19T12:56:27.1931173+05:30</PostedOn>
  <Title>sample string 2</Title>
  <Username>sample string 5</Username>
</utblFeedback>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'utblFeedback'.

Response Information

Resource Description

utblFeedback
NameDescriptionTypeAdditional information
FeedbackID

integer

None.

Title

string

None.

Description

string

None.

PostedOn

date

None.

Username

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FeedbackID": 1,
  "Title": "sample string 2",
  "Description": "sample string 3",
  "PostedOn": "2017-08-19T12:56:27.1931173+05:30",
  "Username": "sample string 5"
}

application/xml, text/xml

Sample:
<utblFeedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Models">
  <Description>sample string 3</Description>
  <FeedbackID>1</FeedbackID>
  <PostedOn>2017-08-19T12:56:27.1931173+05:30</PostedOn>
  <Title>sample string 2</Title>
  <Username>sample string 5</Username>
</utblFeedback>