POST api/v1/PublicCartAddUpdate
Request Information
URI Parameters
None.
Body Parameters
ManageCartInput| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| SessionID | string |
None. |
|
| DeviceID | integer |
None. |
|
| Mode | string |
None. |
|
| ItemID | integer |
None. |
|
| Qty | decimal number |
None. |
|
| DiscPer | decimal number |
None. |
|
| DiscAmt | decimal number |
None. |
|
| UserID | decimal number |
None. |
|
| SellingRate | decimal number |
None. |
|
| CardOrMob | string |
None. |
|
| CorMNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"SessionID": "sample string 2",
"DeviceID": 3,
"Mode": "sample string 4",
"ItemID": 5,
"Qty": 6.0,
"DiscPer": 7.0,
"DiscAmt": 8.0,
"UserID": 9.0,
"SellingRate": 10.0,
"CardOrMob": "sample string 11",
"CorMNo": "sample string 12"
}
application/xml, text/xml
Sample:
<ManageCartInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CardOrMob>sample string 11</CardOrMob> <CorMNo>sample string 12</CorMNo> <DeviceID>3</DeviceID> <DiscAmt>8</DiscAmt> <DiscPer>7</DiscPer> <ID>1</ID> <ItemID>5</ItemID> <Mode>sample string 4</Mode> <Qty>6</Qty> <SellingRate>10</SellingRate> <SessionID>sample string 2</SessionID> <UserID>9</UserID> </ManageCartInput>
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. |