POST api/Review/Submit
Request Information
URI Parameters
None.
Body Parameters
CustomerReviewVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Rating | integer |
None. |
|
| Comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"CustomerId": 2,
"Rating": 3,
"Comment": "sample string 4"
}
text/html
Sample:
{"ProductId":1,"CustomerId":2,"Rating":3,"Comment":"sample string 4"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |