POST api/RecentlyViewedProducts/AddRecentViewProducts

Request Information

URI Parameters

None.

Body Parameters

RecentViewedProducts
NameDescriptionTypeAdditional information
Product_Id

integer

None.

Product

string

None.

User_Id

integer

None.

User

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Product_Id": 1,
  "Product": "sample string 2",
  "User_Id": 3,
  "User": "sample string 4"
}

application/octet-stream

Sample:
{"$id":"1","Product_Id":1,"Product":"sample string 2","User_Id":3,"User":"sample string 4"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.