POST api/hotel/2c/order/cancel
取消订单
Request Information
URI Parameters
None.
Body Parameters
TocHotelCancelRQContractName | Description | Type | Additional information |
---|---|---|---|
bookingcode |
bookingcode |
string |
None. |
customersessionid |
客户sessionid |
string |
None. |
customeripaddress |
客户Ip地址 |
string |
None. |
customeruseragent |
客户Ip地址 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "bookingcode": "sample string 1", "customersessionid": "sample string 2", "customeripaddress": "sample string 3", "customeruseragent": "sample string 4" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
取消订单
ReturnResultOfTocHotelCancelRSContractName | Description | Type | Additional information |
---|---|---|---|
data | TocHotelCancelRSContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "result": "sample string 1" }, "code": 1, "message": "sample string 2" }