POST api/Feedback/AddFeedback
Request Information
URI Parameters
None.
Body Parameters
FeedbackVM| Name | Description | Type | Additional information |
|---|---|---|---|
| FeedbackId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Rating | decimal number |
None. |
|
| Comment | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"feedbackId": 1,
"customerId": 2,
"rating": 3.1,
"comment": "sample string 4",
"isActive": true
}
application/xml, text/xml
Sample:
<FeedbackVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMS.VM"> <Comment>sample string 4</Comment> <CustomerId>2</CustomerId> <FeedbackId>1</FeedbackId> <IsActive>true</IsActive> <Rating>3.1</Rating> </FeedbackVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>