获取房型售卖规则 (上下线状态,售卖币种)
一、接口名称:
getRoomSaleRule
测试环境 http://m.fat.ctripqa.com/restapi/soa2/13353/getRoomSaleRule
生产环境 http://m.ctrip.com/restapi/soa2/13353/getRoomSaleRule
二、输入参数:
{
"requestor": {
"invoker": "String",
"operatorName": "String",
"opClientIP": "String",
"userId": 0,
"languageType": "String"
},
"supplierId": 0,
"hotelId": 0,
"roomIds": [
0
],
"channels": [
"ctrip"
],
"returnAllRooms": false
}
三、输出参数:
{
"resultStatus":{
"resultCode":0,
"resultMsg":"string"
},
"RoomSaleRuleList":[
{
"roomId":0,
"channel":"string",
"currency":"string",
"status":0,
"isB2BOnlineClose":false,
"roomName":"string",
"lastBookTime":"string",
"lastConfirTime":"string",
"lastBookDay":0,
"lastConfirDay":0,
"brandChannelInfo":[
{
"BrandId":0,
"BrandName":"string"
}
],
"bedType":{
"BedType":0
},
"cancelRule":{
"CanCancel":false,
"CheckInDay":0,
"CheckInTime":"string",
"DeductType":0,
"DeductProportion":0,
"CheckInDayAfter":0,
"CheckInTimeAfter":"string",
"DeductTypeAfter":0,
"DeductProportionAfter":0
},
"purchaseWithPriceRule":{
"AutoChange":false,
"Formula":0,
"ModifyValue":0,
"baseChannel":"string"
},
"saleRule":{
"StartTime":"string",
"EndTime":"string",
"EndTimeType":0,
"CheckQunarNOLimit":false,
"LimitDay":0,
"LimitTime":"string",
"LimitType":0,
"MinContinueDay":0,
"MaxContinueDay":0,
"MinBookRoomCount":0,
"MaxBookRoomCount":0,
"SourceType":"string",
"isB2BOnlineClose":false,
"isB2BOfflineClose":false
},
"broadBandRule":{
"BroadBandType":0
},
"reserveField":"string",
"roomEnName":"string"
}
]
}