POST api/AddToCart1
Request Information
URI Parameters
None.
Body Parameters
AddCart1Name | 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. |
|
BOM | Collection of BOM |
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, "BOM": [ { "ID": 1, "Description": "sample string 2" }, { "ID": 1, "Description": "sample string 2" } ] }
text/xml
Sample:
<AddCart1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WoApp.Models"> <BOM> <BOM> <Description>sample string 2</Description> <ID>1</ID> </BOM> <BOM> <Description>sample string 2</Description> <ID>1</ID> </BOM> </BOM> <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> </AddCart1>
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. |