POST api/CustomerReview
Request Information
URI Parameters
None.
Body Parameters
CustomerReviewModels| Name | Description | Type | Additional information |
|---|---|---|---|
| CR_Id | integer |
None. |
|
| ProductId | integer |
Required |
|
| CustomerName | string |
None. |
|
| UserId | integer |
None. |
|
| CR_Description | string |
Required Max length: 140 |
|
| CR_Rating | decimal number |
Required |
|
| CR_DateTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"CR_Id": 1,
"ProductId": 2,
"CustomerName": "sample string 3",
"UserId": 4,
"CR_Description": "sample string 5",
"CR_Rating": 6.0,
"CR_DateTime": "2025-11-03T18:36:04.0106121+05:30"
}
application/xml, text/xml
Sample:
<CustomerReviewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <CR_DateTime>2025-11-03T18:36:04.0106121+05:30</CR_DateTime> <CR_Description>sample string 5</CR_Description> <CR_Id>1</CR_Id> <CR_Rating>6</CR_Rating> <CustomerName>sample string 3</CustomerName> <ProductId>2</ProductId> <UserId>4</UserId> </CustomerReviewModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.