POST reviews
Request Information
URI Parameters
None.
Body Parameters
ReviewRequestName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ProductId | integer |
None. |
|
UserId | globally unique identifier |
None. |
|
ReviewerId | globally unique identifier |
None. |
|
Review | string |
None. |
|
Rating | Collection of Rating |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "a7e019bd-f024-4362-b375-7b16c1e76791", "productId": 2, "userId": "08dec760-ab1e-438d-a6a6-27263e5e7ff4", "reviewerId": "c46e6ff6-ef8f-4a79-839f-1de05ddf559f", "review": "sample string 5", "rating": [ { "reviewId": "a1e5356e-fd01-4cf3-9f8c-fa7841152aea", "ratingType": "Advice", "rate": 2.1 }, { "reviewId": "a1e5356e-fd01-4cf3-9f8c-fa7841152aea", "ratingType": "Advice", "rate": 2.1 } ] }
text/html, multipart/form-data
Sample:
{"id":"a7e019bd-f024-4362-b375-7b16c1e76791","productId":2,"userId":"08dec760-ab1e-438d-a6a6-27263e5e7ff4","reviewerId":"c46e6ff6-ef8f-4a79-839f-1de05ddf559f","review":"sample string 5","rating":[{"reviewId":"a1e5356e-fd01-4cf3-9f8c-fa7841152aea","ratingType":"Advice","rate":2.1},{"reviewId":"a1e5356e-fd01-4cf3-9f8c-fa7841152aea","ratingType":"Advice","rate":2.1}]}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, multipart/form-data
Sample:
Sample not available.