POST api/writeaReview/WriteaReview_Upsert
Request Information
URI Parameters
None.
Body Parameters
WriteaReviewName | 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": "2025-07-08T19:29:23.3232479+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": "2025-07-08T19:29:23.3232479+03:00", "CreatedDateStr": "08-07-2025 07:29 PM", "VendorCreatedDateStr": "08-07-2025 07:29 PM" }
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">2025-07-08T19:29:23.3232479+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">2025-07-08T19:29:23.3232479+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.