GET api/WebApiOdata/GetAllReviews?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductReviewModelName | Description | Type | Additional information |
---|---|---|---|
ProductReviewID | integer |
None. |
|
SCProductID | integer |
None. |
|
ProviderID | integer |
None. |
|
ProductName | string |
None. |
|
ProductCode | string |
None. |
|
ReviewTitle | string |
None. |
|
Review | string |
None. |
|
Rating | string |
None. |
|
ShopperEmail | string |
None. |
|
ReviewedBy | string |
None. |
|
ReviewStatus | string |
None. |
|
CreatedBy | integer |
None. |
|
ProductImagePath | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProductReviewID": 1, "SCProductID": 2, "ProviderID": 3, "ProductName": "sample string 4", "ProductCode": "sample string 5", "ReviewTitle": "sample string 6", "Review": "sample string 7", "Rating": "sample string 8", "ShopperEmail": "sample string 9", "ReviewedBy": "sample string 10", "ReviewStatus": "sample string 11", "CreatedBy": 12, "ProductImagePath": "sample string 13" }, { "ProductReviewID": 1, "SCProductID": 2, "ProviderID": 3, "ProductName": "sample string 4", "ProductCode": "sample string 5", "ReviewTitle": "sample string 6", "Review": "sample string 7", "Rating": "sample string 8", "ShopperEmail": "sample string 9", "ReviewedBy": "sample string 10", "ReviewStatus": "sample string 11", "CreatedBy": 12, "ProductImagePath": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfProductReviewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <ProductReviewModel> <CreatedBy>12</CreatedBy> <ProductCode>sample string 5</ProductCode> <ProductImagePath>sample string 13</ProductImagePath> <ProductName>sample string 4</ProductName> <ProductReviewID>1</ProductReviewID> <ProviderID>3</ProviderID> <Rating>sample string 8</Rating> <Review>sample string 7</Review> <ReviewStatus>sample string 11</ReviewStatus> <ReviewTitle>sample string 6</ReviewTitle> <ReviewedBy>sample string 10</ReviewedBy> <SCProductID>2</SCProductID> <ShopperEmail>sample string 9</ShopperEmail> </ProductReviewModel> <ProductReviewModel> <CreatedBy>12</CreatedBy> <ProductCode>sample string 5</ProductCode> <ProductImagePath>sample string 13</ProductImagePath> <ProductName>sample string 4</ProductName> <ProductReviewID>1</ProductReviewID> <ProviderID>3</ProviderID> <Rating>sample string 8</Rating> <Review>sample string 7</Review> <ReviewStatus>sample string 11</ReviewStatus> <ReviewTitle>sample string 6</ReviewTitle> <ReviewedBy>sample string 10</ReviewedBy> <SCProductID>2</SCProductID> <ShopperEmail>sample string 9</ShopperEmail> </ProductReviewModel> </ArrayOfProductReviewModel>