POST api/RemoveFromCart

Request Information

URI Parameters

None.

Body Parameters

RemoveFromCartRequest
NameDescriptionTypeAdditional information
flat_id

integer

None.

product_id

integer

None.

color_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "flat_id": 1,
  "product_id": 2,
  "color_id": 3
}

application/xml, text/xml

Sample:
<RemoveFromCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dbKey2h.Models">
  <color_id>3</color_id>
  <flat_id>1</flat_id>
  <product_id>2</product_id>
</RemoveFromCartRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.