POST api/Cart/RemoveCartItem

Request Information

URI Parameters

None.

Body Parameters

CGCart
NameDescriptionTypeAdditional information
RecordId

integer

None.

CartId

string

None.

ProductId

integer

None.

Quantity

integer

None.

DateCreated

date

None.

Product

CGProduct

None.

QuantityBought

integer

None.

QuantityMin

integer

None.

QuantityMax

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CartItemResponse
NameDescriptionTypeAdditional information
ResponseObject

integer

None.

Code

ResponseCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": 1,
  "Code": 0,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<CartItemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts">
  <Code>None</Code>
  <Message>sample string 2</Message>
  <ResponseObject>1</ResponseObject>
</CartItemResponse>