POST api/writeaReview/WriteaReview_Upsert
Request Information
URI Parameters
None.
Body Parameters
WriteaReview| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| ProductId | integer |
None. |
|
| RatingNo | integer |
None. |
|
| Heading | string |
None. |
|
| Review | string |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| FirtsName | string |
None. |
|
| SecondName | string |
None. |
|
| VendorId | integer |
None. |
|
| VendorProductReviewCount | integer |
None. |
|
| VendorProductTotalRating | string |
None. |
|
| CustomersRecommend | integer |
None. |
|
| VendorFirstname | string |
None. |
|
| VendorSecondName | string |
None. |
|
| VendorProfileUrl | string |
None. |
|
| VendorPrimaryPhone | string |
None. |
|
| AverageRating | decimal number |
None. |
|
| VendorCreatedDate | date |
None. |
|
| CreatedDateStr | string |
None. |
|
| VendorCreatedDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"ProductId": 3,
"RatingNo": 4,
"Heading": "sample string 5",
"Review": "sample string 6",
"CreatedDate": "2026-02-04T05:15:23.7911886+03:00",
"CreatedBy": 8,
"FirtsName": "sample string 9",
"SecondName": "sample string 10",
"VendorId": 11,
"VendorProductReviewCount": 12,
"VendorProductTotalRating": "sample string 13",
"CustomersRecommend": 14,
"VendorFirstname": "sample string 15",
"VendorSecondName": "sample string 16",
"VendorProfileUrl": "sample string 17",
"VendorPrimaryPhone": "sample string 18",
"AverageRating": 19.0,
"VendorCreatedDate": "2026-02-04T05:15:23.7911886+03:00",
"CreatedDateStr": "04-02-2026 05:15 AM",
"VendorCreatedDateStr": "04-02-2026 05:15 AM"
}
text/xml
Sample:
<WriteaReview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1"> <AverageRating xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">19</AverageRating> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">8</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:15:23.7911886+03:00</CreatedDate> <CustomersRecommend xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">14</CustomersRecommend> <FirtsName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 9</FirtsName> <Heading xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 5</Heading> <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id> <ProductId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">3</ProductId> <RatingNo xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">4</RatingNo> <Review xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 6</Review> <SecondName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 10</SecondName> <UserId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</UserId> <VendorCreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2026-02-04T05:15:23.7911886+03:00</VendorCreatedDate> <VendorFirstname xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 15</VendorFirstname> <VendorId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">11</VendorId> <VendorPrimaryPhone xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 18</VendorPrimaryPhone> <VendorProductReviewCount xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">12</VendorProductReviewCount> <VendorProductTotalRating xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 13</VendorProductTotalRating> <VendorProfileUrl xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 17</VendorProfileUrl> <VendorSecondName xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 16</VendorSecondName> </WriteaReview>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.