POST api/forb2b/add-product-rating

Request Information

URI Parameters

None.

Body Parameters

customer_product_rating
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'customer_product_rating'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.