POST api/Shop/AddGoodsQuote
Request Information
URI Parameters
None.
Body Parameters
GoodsQuoteParam| Name | Description | Type | Additional information |
|---|---|---|---|
| productid | integer |
None. |
|
| siteid | integer |
None. |
|
| qty | integer |
None. |
|
| type | integer |
None. |
|
| itemcode | string |
None. |
|
| list | boolean |
None. |
|
| specialKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"productid": 1,
"siteid": 2,
"qty": 3,
"type": 4,
"itemcode": "sample string 5",
"list": true,
"specialKey": "sample string 7"
}
application/xml, text/xml
Sample:
<GoodsQuoteParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ti.WebApi.Models.Params"> <itemcode>sample string 5</itemcode> <list>true</list> <productid>1</productid> <qty>3</qty> <siteid>2</siteid> <specialKey>sample string 7</specialKey> <type>4</type> </GoodsQuoteParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentEncoding | Encoding |
None. |
|
| ContentType | string |
None. |
|
| Data | Object |
None. |
|
| JsonRequestBehavior | JsonRequestBehavior |
None. |
|
| MaxJsonLength | integer |
None. |
|
| RecursionLimit | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ContentEncoding": null,
"ContentType": "sample string 1",
"Data": {},
"JsonRequestBehavior": 0,
"MaxJsonLength": 1,
"RecursionLimit": 1
}
application/xml, text/xml
Sample:
<JsonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <ContentEncoding xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Text" i:nil="true" /> <ContentType>sample string 1</ContentType> <Data /> <JsonRequestBehavior>AllowGet</JsonRequestBehavior> <MaxJsonLength>1</MaxJsonLength> <RecursionLimit>1</RecursionLimit> </JsonResult>