POST api/forb2c/add-product-rating
Request Information
URI Parameters
None.
Body Parameters
customer_product_rating| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductId | integer |
Required |
|
| CustomerId | string |
Required |
|
| OrderId | string |
Required |
|
| Description | string |
Required |
|
| Rating | integer |
Required |
|
| ColorId | integer |
Required |
|
| RamId | integer |
Required |
|
| RomId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"ProductId": 1,
"CustomerId": "sample string 2",
"OrderId": "sample string 3",
"Description": "sample string 4",
"Rating": 5,
"ColorId": 6,
"RamId": 7,
"RomId": 8
}
application/xml, text/xml
Sample:
<customer_product_rating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fonofy_api.Model"> <ColorId>6</ColorId> <CustomerId>sample string 2</CustomerId> <Description>sample string 4</Description> <OrderId>sample string 3</OrderId> <ProductId>1</ProductId> <RamId>7</RamId> <Rating>5</Rating> <RomId>8</RomId> </customer_product_rating>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |