Skip to content

线路-产品列表

基本信息

Path: /line/list

Method: POST

请求参数

Headers

参数名称参数值是否必须示例备注
Content-Typeapplication/json
x-lvcang-api-account开放平台分配aaa.test

Body

名称类型是否必须备注
srcCityNamestring非必须出发城市
lineIdsstring非必须lineIds:线路ID(多个英文逗号隔开,非实时数据;单id,实时数据)
keywordstring非必须关键词(线路ID或者热门目的地)
lineTypeList非必须线路类型 10周边游、20国内游、30出境游、50酒景套餐
propinteger非必须1: 跟团、3:自由行、5:目的地参团
sortstring非必须推荐排序:tj:desc、热销排序:trips:desc、价低到高:tcPrice:asc、价高到低:tcPrice:desc
selectWaysList非必须线路玩法Id(传数字集合,例如:[815629, 123417])
minVGDate string非必须最小出团日期,格式:yyyy-MM-dd
maxVGDatestring非必须最大出团日期,格式:yyyy-MM-dd
daysList非必须出游天数(传数字集合,例如:[5, 6])
minPriceinteger非必须最低价
maxPriceinteger非必须最高价
labelIdListList非必须快捷筛选(安心选、无自费、无购物、钻级、精致小团、飞机往返、高铁往返)传数字集合,例如:[815629, 123417]
ruleReduceTypestring非必须优惠类型筛选id:(100-优惠立减,101-多人立减,102-早鸟特惠,103-甩尾特惠,0-度假特惠)
pageIndexinteger非必须页码
pageSizeinteger非必须每页数据量(最大值100)

返回数据

名称类型是否必须备注
codeinteger必须状态码 0:成功 3000:失败 5000:请求异常
messagestring必须返回信息
successboolean必须请求是否成功
dataobject必须返回内容
├─ totalCountstring必须总条数
├─ itemsobject []必须线路内容
├─ lineIdinteger必须线路Id
├─ titlestring必须主标题
├─ subTitlestring必须副标题
├─ imgUrlstring必须头图
├─ daysinteger必须行程天数
├─ nightsinteger必须行程晚数
├─ lineTypeinteger必须线路类型 10周边游、20国内游、30出境游、50酒景套餐
├─ propinteger必须1: 跟团、3:自由行、5:目的地参团
├─ depCityobject必须出发城市,有值时表示本产品限定了出发城市;无值时表示支持全国出发
├─ scListobject []必须本产品所支持的周边辐射出发城市
├─ portCitystring必须出港城市
├─ dcListobject []必须到达城市
├─ labelListobject []必须标签集合(安心选、免费接送机等)
├─ tripsstring必须已出游人数
├─ cmtCountinteger必须点评条数
├─ favRateinteger必须满意度
├─ comDescstring必须用户评价摘录
├─ discountTagListList必须多人立减、优惠立减等
├─ bpPriceinteger必须团期最低价
├─ gdDatestring必须行程团期
├─ productUrlstring必须跳转至产品详情
daysListobject []必须游玩天数
├─ idinteger必须ID
├─ namestring必须名称
diamondListobject []必须钻级
├─ idinteger必须ID
├─ namestring必须名称
linePropertyListobject []必须线路玩法
├─ idinteger必须ID
├─ namestring必须名称
quickLabelsobject []必须快筛标签
├─ idinteger必须标签ID
├─ namestring必须名称