GET api/localtravel/getShoppingCart/{lang}/{sid}?memberId={memberId}&cartId={cartId}
獲取購物車
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sid |
sessionId |
string |
Required |
lang |
語言 |
string |
Required |
memberId |
會員ID(空是為匿名用戶) |
string |
Default value is |
cartId |
購物車ID(空時為所有) |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
獲取購物車
ReturnResultOfLocalTravelShoppingCartRSContractName | Description | Type | Additional information |
---|---|---|---|
data | LocalTravelShoppingCartRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "planList": [ { "themeId": "sample string 1", "cityId": "sample string 2", "cartId": "sample string 3", "leastPerson": 4, "filePath": "sample string 5", "resType": 0, "themeName": "sample string 6", "planName": "sample string 7", "IsLimitDate": true, "depDate": "2024-12-23T19:46:09.2649897+08:00", "DepTime": "sample string 10", "priceRankList": [ { "priceRankId": "sample string 1", "priceRankName": "sample string 2", "orgPrice": 3.0, "markupPrice": 4.0, "sellPrice": 5.0, "currencyCode": "sample string 6", "count": 7, "isReduceStock": true }, { "priceRankId": "sample string 1", "priceRankName": "sample string 2", "orgPrice": 3.0, "markupPrice": 4.0, "sellPrice": 5.0, "currencyCode": "sample string 6", "count": 7, "isReduceStock": true } ], "totalAmt": 70.0, "status": 0, "source": 0, "createTime": "2024-12-23T19:46:09.2649897+08:00", "urlcategory": "sample string 12" }, { "themeId": "sample string 1", "cityId": "sample string 2", "cartId": "sample string 3", "leastPerson": 4, "filePath": "sample string 5", "resType": 0, "themeName": "sample string 6", "planName": "sample string 7", "IsLimitDate": true, "depDate": "2024-12-23T19:46:09.2649897+08:00", "DepTime": "sample string 10", "priceRankList": [ { "priceRankId": "sample string 1", "priceRankName": "sample string 2", "orgPrice": 3.0, "markupPrice": 4.0, "sellPrice": 5.0, "currencyCode": "sample string 6", "count": 7, "isReduceStock": true }, { "priceRankId": "sample string 1", "priceRankName": "sample string 2", "orgPrice": 3.0, "markupPrice": 4.0, "sellPrice": 5.0, "currencyCode": "sample string 6", "count": 7, "isReduceStock": true } ], "totalAmt": 70.0, "status": 0, "source": 0, "createTime": "2024-12-23T19:46:09.2649897+08:00", "urlcategory": "sample string 12" } ], "totalAmt": 140.0, "currencyCode": "sample string 1" }, "code": 1, "message": "sample string 2" }