POST Api/Post_RemoveCartItem

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_CART_DETAILS
NameDescriptionTypeAdditional information
RefId

string

None.

Discount

decimal number

None.

Items

Collection of ESPL_MODEL_ITEMPROCESS_ITEMS

None.

Request Formats

application/json, text/json

Sample:
{
  "RefId": "sample string 1",
  "Discount": 2.1,
  "Items": [
    {
      "ItemCode": "sample string 1",
      "Quantity": 2.1
    },
    {
      "ItemCode": "sample string 1",
      "Quantity": 2.1
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_CART_DETAILS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
  <Discount>2.1</Discount>
  <Items>
    <ESPL_MODEL_ITEMPROCESS_ITEMS>
      <ItemCode>sample string 1</ItemCode>
      <Quantity>2.1</Quantity>
    </ESPL_MODEL_ITEMPROCESS_ITEMS>
    <ESPL_MODEL_ITEMPROCESS_ITEMS>
      <ItemCode>sample string 1</ItemCode>
      <Quantity>2.1</Quantity>
    </ESPL_MODEL_ITEMPROCESS_ITEMS>
  </Items>
  <RefId>sample string 1</RefId>
</ESPL_MODEL_CART_DETAILS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.