GET api/localtravel/checkInventory/{sid}?memberId={memberId}&shoppingCartIds={shoppingCartIds}
检测可下单状态
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
sid |
sessionId |
string |
Required |
memberId |
會員ID(空是為匿名用戶) |
string |
Default value is |
shoppingCartIds |
購物車ID(多個","分隔,空時為所有購物車) |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
检测可下单状态
ReturnResultOfLocalTravelCheckInventoryRSContractName | Description | Type | Additional information |
---|---|---|---|
data | LocalTravelCheckInventoryRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "isableToBooking": true, "cartList": [ { "cartId": "sample string 1", "priceRankList": [ { "priceRankId": "sample string 1", "status": 0, "message": "sample string 2" }, { "priceRankId": "sample string 1", "status": 0, "message": "sample string 2" } ] }, { "cartId": "sample string 1", "priceRankList": [ { "priceRankId": "sample string 1", "status": 0, "message": "sample string 2" }, { "priceRankId": "sample string 1", "status": 0, "message": "sample string 2" } ] } ] }, "code": 1, "message": "sample string 2" }