POST api/hotel/totalstay/order/cancel

取消订单

Request Information

URI Parameters

None.

Body Parameters

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

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

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