POST api/Review
Request Information
URI Parameters
None.
Body Parameters
tblReviewAndRating| Name | Description | Type | Additional information |
|---|---|---|---|
| ReviewId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| ProductId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Review | string |
None. |
|
| Rating | decimal number |
None. |
|
| ReviewDate | date |
None. |
|
| Status | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"reviewId": 1,
"companyId": 1,
"productId": 1,
"customerId": 1,
"review": "sample string 2",
"rating": 1.0,
"reviewDate": "2025-12-11T20:07:56.8824195+05:30",
"status": true
}
application/xml, text/xml
Sample:
<tblReviewAndRating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI"> <CompanyId>1</CompanyId> <CustomerId>1</CustomerId> <ProductId>1</ProductId> <Rating>1</Rating> <Review>sample string 2</Review> <ReviewDate>2025-12-11T20:07:56.8824195+05:30</ReviewDate> <ReviewId>1</ReviewId> <Status>true</Status> </tblReviewAndRating>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"data": {},
"message": "sample string 3",
"type": 4
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Controllers.Resource"> <Data /> <Message>sample string 3</Message> <Status>sample string 1</Status> <Type>4</Type> </APIResponse>