POST api/values/AddtoCart

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Data
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CartItemID": 1,
  "ProductId": 2,
  "Quantity": 3,
  "Shop_id": 1,
  "UserId": 4
}

application/xml, text/xml

Sample:
<CartTbl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLinks.Models">
  <CartItemID>1</CartItemID>
  <ProductId>2</ProductId>
  <Quantity>3</Quantity>
  <Shop_id>1</Shop_id>
  <UserId>4</UserId>
</CartTbl>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.