POST api/hotel/2c/order/cancel

取消订单

Request Information

URI Parameters

None.

Body Parameters

TocHotelCancelRQContract
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

取消订单

ReturnResultOfTocHotelCancelRSContract
NameDescriptionTypeAdditional 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"
}