POST api/TotalAyushCare/CartItemsRemove

Documentation for 'CartItemsRemove'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Credentials": {
    "Username": "sample string 1",
    "Password": "sample string 2",
    "ClientName": "sample string 3"
  },
  "CartDetails": {
    "Id": "sample string 1",
    "CustomerId": "sample string 2",
    "ProductName": "sample string 3",
    "ProductCategory": "sample string 4",
    "ProductQty": "sample string 5",
    "Price": "sample string 6",
    "Discount": "sample string 7",
    "Variant": "sample string 8",
    "DefaultImage": "sample string 9",
    "Added": "sample string 10",
    "ActionType": "sample string 11",
    "Action": "sample string 12",
    "Source": "sample string 13",
    "PrescriptionId": "sample string 14",
    "ShippingAmt": "sample string 15",
    "Tax": "sample string 16"
  }
}

application/xml, text/xml

Sample:
<CartItemsRemoveRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <CartDetails>
    <Action>sample string 12</Action>
    <ActionType>sample string 11</ActionType>
    <Added>sample string 10</Added>
    <CustomerId>sample string 2</CustomerId>
    <DefaultImage>sample string 9</DefaultImage>
    <Discount>sample string 7</Discount>
    <Id>sample string 1</Id>
    <PrescriptionId>sample string 14</PrescriptionId>
    <Price>sample string 6</Price>
    <ProductCategory>sample string 4</ProductCategory>
    <ProductName>sample string 3</ProductName>
    <ProductQty>sample string 5</ProductQty>
    <ShippingAmt>sample string 15</ShippingAmt>
    <Source>sample string 13</Source>
    <Tax>sample string 16</Tax>
    <Variant>sample string 8</Variant>
  </CartDetails>
  <Credentials>
    <ClientName>sample string 3</ClientName>
    <Password>sample string 2</Password>
    <Username>sample string 1</Username>
  </Credentials>
</CartItemsRemoveRequests>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'CartItemsRemoveRequests'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "errors": [
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    },
    {
      "code": "sample string 1",
      "description": "sample string 2"
    }
  ],
  "result": "sample string 2",
  "Response": "sample string 3",
  "id": "sample string 4"
}

application/xml, text/xml

Sample:
<CartItemsRemoveResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalAyushCare.Codes">
  <Response>sample string 3</Response>
  <errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
    <errors>
      <code>sample string 1</code>
      <description>sample string 2</description>
    </errors>
  </errors>
  <id>sample string 4</id>
  <message>sample string 1</message>
  <result>sample string 2</result>
</CartItemsRemoveResponse>