GET api/WebInterface/ShoppingCart/Status?dwid={dwid}&dwlx={dwlx}&grhyid={grhyid}
查询某个用户购物车中添加的商品种类的数量和商品的数量。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dwid |
客户ID。 |
string |
Required |
| dwlx |
客户类型。 |
string |
Required |
| grhyid |
个人会员ID(当导游,计调调用这个函数时,此值设为0)。 |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
查询某个用户购物车中添加的商品种类的数量和商品的数量。
CommonOperationResultWithTagOfShoppingCartStateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | ShoppingCartStateResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": {
"producttypecount": 1,
"productcount": 2
}
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfShoppingCartStateResult90Z6Xn9G xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
<errcode>1</errcode>
<errmsg>sample string 2</errmsg>
<tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<d2p1:productcount>2</d2p1:productcount>
<d2p1:producttypecount>1</d2p1:producttypecount>
</tag>
</CommonOperationResultWithTagOfShoppingCartStateResult90Z6Xn9G>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.