实时查询产品

接口描述
接口调用方:合作商
接口返回方:FCG
接口频次限制:100次/分钟
使用说明:合作商通过该接口实时查询酒店的售卖信息,最大可查询 60 天内,自入住日期起连续30 天的售卖数据(申请之后最多可以查询180天内的数据)。本接口只适合实时查询,不适合落地存储,下单之前按实际入离日期来实时查询一次,因为入离日期不同,返回的每日价格可能不一样。重点提醒: 查询报价时需要使用本地缓存可售酒店列表校验,不在可售酒店列表的不需来查询报价,不然会空跑浪费接口频率和系统资源

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

直接传业务请求体。不要再包裹 header / businessRequest

number
required

酒店id

string
required

入住日期(格式:yyyy-MM-dd),入住日期必须小于离店日期。默认连续入住间隔最长为30天,有需求可联系客服增加到最长90天

string
required

离店日期(格式:yyyy-MM-dd),入住日期必须小于离店日期。默认连续入住间隔最长为30天,有需求可联系客服增加到最长90天

integer
required

房间数量(整型,如:1)

string

语言:zh-CN(中文)en-US(英文)默认英文

integer
required

每间成人数

integer

每间儿童数

string

儿童年龄(numberOfChildren不为空时必填,且数量和numberOfChildren的数量一致)多个年龄用逗号隔开,如:numberOfChildren=2,childrenAges=“1,2”表示两个儿童,年龄分别是1岁和2岁,小于1岁的输入0

string

国家及地区二字码,详见ISO 国家及地区代码(字典库)

number

超时时间设置 单位 ms

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json