POST api/Lunchcart/RemoveProductGroupFromLunchcart

Request Information

URI Parameters

None.

Body Parameters

LunchcartDuosRequest
NameDescriptionTypeAdditional information
Product1

Product

None.

Product2

Product

None.

ProductGroupId

integer

None.

Quantity

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'Product1.ChildProductList[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'Product1.ChildProductList[0]'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'NodeProduct' with type 'Specialtys.DTO.Product'. Path 'Product1.ChildProductList[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Specialtys.DTO.ChildProduct, Specialtys.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Specialtys.DTO.ChildProduct, Specialtys.DTO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.