POST api/Products/ToggleFavorite
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| request | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"productId": "sample string 1"
}
text/xml
Sample:
<ProductModel.ToggleFavoriteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models"> <productId>sample string 1</productId> </ProductModel.ToggleFavoriteRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"response": "sample string 1",
"message": "sample string 2",
"isFavourite": true
}
text/xml
Sample:
<ToggleFavouriteResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models"> <isFavourite>true</isFavourite> <message>sample string 2</message> <response>sample string 1</response> </ToggleFavouriteResponse>