POST api/shoppingcart/deldetail

移除購物車

Request Information

URI Parameters

None.

Body Parameters

DelCartRQContract
NameDescriptionTypeAdditional information
memberId

會員ID

integer

None.

cartids

記錄編號

Collection of integer

None.

tourids

详细記錄編號

Collection of integer

None.

itemtype

類型(fare=機票,hoel=酒店,tour=本地團,insurance=保險,package=機+酒)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "memberId": 1,
  "cartids": [
    1,
    2
  ],
  "tourids": [
    1,
    2
  ],
  "itemtype": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DelCartRQContract'.

Response Information

Resource Description

移除購物車

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}