POST api/AddToCart
Request Information
URI Parameters
None.
Body Parameters
AddCartName | Description | Type | Additional information |
---|---|---|---|
DeviceID | string |
None. |
|
ProductCode | string |
None. |
|
Colour | string |
None. |
|
Fitting | string |
None. |
|
Size | string |
None. |
|
Quantity | integer |
None. |
|
SalesPrice | decimal number |
None. |
|
TCBandPrice | decimal number |
None. |
|
TCPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "DeviceID": "sample string 1", "ProductCode": "sample string 2", "Colour": "sample string 3", "Fitting": "sample string 4", "Size": "sample string 5", "Quantity": 6, "SalesPrice": 7.0, "TCBandPrice": 8.0, "TCPrice": 9.0 }
text/xml
Sample:
<AddCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WoApp.Models"> <Colour>sample string 3</Colour> <DeviceID>sample string 1</DeviceID> <Fitting>sample string 4</Fitting> <ProductCode>sample string 2</ProductCode> <Quantity>6</Quantity> <SalesPrice>7</SalesPrice> <Size>sample string 5</Size> <TCBandPrice>8</TCBandPrice> <TCPrice>9</TCPrice> </AddCart>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | 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. |