GET api/Order/GetPurchaseProductByCustomerId?CustomerId={CustomerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetPurchaseProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
None. |
|
| Reviewid | integer |
None. |
|
| Product | string |
None. |
|
| Review | string |
None. |
|
| Rating | integer |
None. |
|
| IsAlreadyReview | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ProductId": 1,
"Reviewid": 2,
"Product": "sample string 3",
"Review": "sample string 4",
"Rating": 5,
"IsAlreadyReview": true
},
{
"$ref": "1"
}
]
application/octet-stream
Sample:
[{"$id":"1","ProductId":1,"Reviewid":2,"Product":"sample string 3","Review":"sample string 4","Rating":5,"IsAlreadyReview":true},{"$ref":"1"}]