POST api/v1/AddUpdateCart
Request Information
URI Parameters
None.
Body Parameters
ManageCarttInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Mode | string |
None. |
|
| ProdID | integer |
None. |
|
| CalledFrom | string |
None. |
|
| TaxonomyID | integer |
None. |
|
| PackQty | integer |
None. |
|
| UOM | string |
None. |
|
| SessionID | string |
None. |
|
| Barcode | string |
None. |
|
| Qty | decimal number |
None. |
|
| SellingRate | decimal number |
None. |
|
| PINCode | string |
None. |
|
| MRP | decimal number |
None. |
|
| SplDiscID | integer |
None. |
|
| SplDiscPer | decimal number |
None. |
|
| CustID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Mode": "sample string 2",
"ProdID": 3,
"CalledFrom": "sample string 4",
"TaxonomyID": 5,
"PackQty": 6,
"UOM": "sample string 7",
"SessionID": "sample string 8",
"Barcode": "sample string 9",
"Qty": 10.0,
"SellingRate": 11.0,
"PINCode": "sample string 12",
"MRP": 13.0,
"SplDiscID": 14,
"SplDiscPer": 15.0,
"CustID": 16
}
application/xml, text/xml
Sample:
<ManageCarttInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Barcode>sample string 9</Barcode> <CalledFrom>sample string 4</CalledFrom> <CustID>16</CustID> <ID>1</ID> <MRP>13</MRP> <Mode>sample string 2</Mode> <PINCode>sample string 12</PINCode> <PackQty>6</PackQty> <ProdID>3</ProdID> <Qty>10</Qty> <SellingRate>11</SellingRate> <SessionID>sample string 8</SessionID> <SplDiscID>14</SplDiscID> <SplDiscPer>15</SplDiscPer> <TaxonomyID>5</TaxonomyID> <UOM>sample string 7</UOM> </ManageCarttInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |