POST api/product/addTo/wishlist

Request Information

URI Parameters

None.

Body Parameters

AddWishListViewModel
NameDescriptionTypeAdditional information
ProductId

integer

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductId": 1,
  "UserId": "659be99f-4fc2-4e79-8dd4-cab19160889b"
}

text/html

Sample:
{"ProductId":1,"UserId":"659be99f-4fc2-4e79-8dd4-cab19160889b"}

application/xml, text/xml

Sample:
<AddWishListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SingersBabel.BAL.ViewModel">
  <ProductId>1</ProductId>
  <UserId>659be99f-4fc2-4e79-8dd4-cab19160889b</UserId>
</AddWishListViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.