POST api/Favourite/AddFavourite

Request Information

URI Parameters

None.

Body Parameters

FavouriteVM
NameDescriptionTypeAdditional information
ProductID

integer

None.

CustomerID

integer

None.

Size

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "CustomerID": 2,
  "Size": 1.0
}

text/html

Sample:
{"ProductID":1,"CustomerID":2,"Size":1.0}

application/x-www-form-urlencoded

Sample:

Sample not available.

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.