POST api/hotel/totalstay/order/cancel
取消订单
Request Information
URI Parameters
None.
Body Parameters
TsHotelCanncelRQContractName | Description | Type | Additional information |
---|---|---|---|
bookingcode |
Booking Code |
string |
None. |
canceltoken |
取消token |
string |
None. |
cancelcost |
取消费用 |
decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "bookingcode": "sample string 1", "canceltoken": "sample string 2", "cancelcost": 3.0 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
取消订单
ReturnResultOfBooleanName | Description | Type | Additional 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" }