POST api/TrendingProduct/AddTrendingProduct

Request Information

URI Parameters

None.

Body Parameters

TrendingProduct
NameDescriptionTypeAdditional information
Id

integer

None.

Navigation_Id

integer

None.

ParentCategory

string

None.

SubNavigation_Id

integer

None.

ChildCategory

string

None.

ProductId

integer

None.

Product

string

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Navigation_Id": 2,
  "ParentCategory": "sample string 3",
  "SubNavigation_Id": 4,
  "ChildCategory": "sample string 5",
  "ProductId": 6,
  "Product": "sample string 7",
  "Name": "sample string 8"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Navigation_Id":2,"ParentCategory":"sample string 3","SubNavigation_Id":4,"ChildCategory":"sample string 5","ProductId":6,"Product":"sample string 7","Name":"sample string 8"}

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 'TrendingProduct'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.