POST api/WishList/AddWishList

Request Information

URI Parameters

None.

Body Parameters

WishList
NameDescriptionTypeAdditional information
Id

integer

None.

Customer_Id

integer

None.

Customer

string

None.

ProductId

integer

None.

Product

string

None.

Photo

string

None.

Rate

string

None.

Child_CategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Customer_Id": 2,
  "Customer": "sample string 3",
  "ProductId": 4,
  "Product": "sample string 5",
  "Photo": "sample string 6",
  "Rate": "sample string 7",
  "Child_CategoryId": 8
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Customer_Id":2,"Customer":"sample string 3","ProductId":4,"Product":"sample string 5","Photo":"sample string 6","Rate":"sample string 7","Child_CategoryId":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 'WishList'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.