携程出发点跟团查询API (下)

2 篇文章 0 订阅
2 篇文章 0 订阅

携程出发点跟团查询API (下)

1) 请求地址

https://vacations.ctrip.com/list/restapi/gateway/11899/proInfo4static

2) 调用方式:HTTP post

3) 接口描述:

  • 接口描述详情
  • 编号来控制   上一个文章的来组成json 26967598

4) 请求参数:

{
    "contentType": "json",
    "head": {
        "cid": "09031091411719393938",
        "ctok": "",
        "cver": "1.0",
        "lang": "01",
        "sid": "8888",
        "syscode": "09",
        "auth": "",
        "extension": []
    },
    "channel": "online",
    "imageOption": {
        "width": 200,
        "height": 150
    },
    "proKeyQuery": [
        {
            "id": 26967598,
            "buType": "GT",
            "deptCity": 4
        },
        {
            "id": 1930186,
            "buType": "GT",
            "deptCity": 4
        }
    ]
}

POST参数:

字段名称字段说明类型必填备注
0 stringY-
1 stringY-
2 stringY-
3 stringY-
4 stringY-
5 stringY-
6 stringY-
7 stringY-
8 stringY-
9 stringY-
10 stringY-
11 stringY-
12 stringY-
13 stringY-
14 stringY-
15 stringY-
16 stringY-
17 stringY-

5) 请求返回结果:

{
    "items": [
        {
            "proKey": {
                "id": 26967598,
                "deptCity": 4,
                "buType": "GT"
            },
            "proName": "昆明+丽江+泸沽湖6日5晚私家团(5钻)·【全程独立专车+优选五星住宿】3成人同行下单立减300元!登顶玉龙雪山&欣赏《印象丽江》&探秘摩梭文化&乘坐网红猪槽船--登里务比岛—来一场尽兴的云南之旅!",
            "image": "https://dimg04.c-ctrip.com/images/300w1b000001b4hjr85B3_C_200_150.jpg",
            "saleModel": 4,
            "vendorName": "云南车游国际旅行社有限公司",
            "vendorFullName": "云南车游国际旅行社有限公司",
            "brandName": "车游国旅",
            "isCircleLine": false,
            "isCanbooking": true,
            "isDistribution": false,
            "travelCount": 0,
            "categoryId": 10,
            "patternID": 4,
            "deptCity": {
                "cityId": 4,
                "cityName": "重庆",
                "cityEName": "Chongqing"
            },
            "destCity": {
                "cityId": 37,
                "cityName": "丽江",
                "cityEName": "Lijiang"
            },
            "pmRecommendations": [
                "全程大众、本田、丰田、别克GL8等专车服务,早上睡到自然醒(雪山需早起)",
                "全程入住古城边五星酒店+泸沽湖山景房;体验自然生态美景~",
                "泸沽湖篝火晚会~乘猪槽船登里务比岛~登玉龙雪山赠雪厨餐~"
            ],
            "diamond": 5,
            "advanceBookingDays": 2,
            "extendInfo": [
                {
                    "key": "collectible",
                    "value": "T"
                },
                {
                    "key": "comparable",
                    "value": "T"
                },
                {
                    "key": "mainName",
                    "value": "昆明+丽江+泸沽湖6日5晚私家团(5钻)"
                },
                {
                    "key": "subName",
                    "value": "【全程独立专车+优选五星住宿】3成人同行下单立减300元!登顶玉龙雪山&欣赏《印象丽江》&探秘摩梭文化&乘坐网红猪槽船--登里务比岛—来一场尽兴的云南之旅!"
                }
            ],
            "detailUrl": "//vacations.ctrip.com/tour/detail/p26967598s4.html",
            "isDept4HK": false,
            "districts": [
                {
                    "destID": 91410,
                    "destName": "蓝月谷"
                },
                {
                    "destID": 10543892,
                    "destName": "玉龙雪山索道"
                },
                {
                    "destID": 10758688,
                    "destName": "《印象丽江》演出"
                },
                {
                    "destID": 75924,
                    "destName": "丽江古城"
                },
                {
                    "destID": 33764331,
                    "destName": "猪槽船游湖(大落水码头)"
                },
                {
                    "destID": 80042,
                    "destName": "束河古镇"
                },
                {
                    "destID": 87533,
                    "destName": "里务比岛"
                },
                {
                    "destID": 76332,
                    "destName": "泸沽湖"
                },
                {
                    "destID": 75919,
                    "destName": "玉龙雪山"
                },
                {
                    "destID": 10543934,
                    "destName": "里务比寺"
                },
                {
                    "destID": 95359,
                    "destName": "束河四方街"
                },
                {
                    "destID": 95374,
                    "destName": "束河三眼井"
                }
            ],
            "saleChannels": [
                "0"
            ],
            "hasVideo": false,
            "minDays": 6,
            "maxDays": 6,
            "orderCount": 0
        },
        {
            "proKey": {
                "id": 1930186,
                "deptCity": 4,
                "buType": "GT"
            },
            "proName": "华东5市+乌镇5日4晚跟团游(4钻)·升2晚5星+4正餐50餐标+金秋品蟹+25%空座率【自营力荐·枕水大华东】儿童含早「精华全含」乌镇+周庄双水乡 船游西湖+周庄环镇水上游+灵山大佛&梵宫自助素斋【万人出游真纯玩】·A线双飞",
            "image": "https://dimg03.c-ctrip.com/images/fd/tg/g2/M07/8B/4D/Cghzf1Ww4EKAIJf0AA-a5kIApP4409_C_200_150.jpg",
            "saleModel": 1,
            "vendorName": "上海携程国际旅行社有限公司",
            "vendorFullName": "上海携程国际旅行社有限公司",
            "brandName": "携程自营",
            "isCircleLine": false,
            "isCanbooking": true,
            "isDistribution": false,
            "travelCount": 12028,
            "categoryId": 10,
            "patternID": 1,
            "deptCity": {
                "cityId": 4,
                "cityName": "重庆",
                "cityEName": "Chongqing"
            },
            "destCity": {
                "cityId": 12,
                "cityName": "南京",
                "cityEName": "Nanjing"
            },
            "pmRecommendations": [
                "超棒全景,精华全含,VIP包船赏西湖+周庄环镇双游船 经典乌镇+周庄双水乡!",
                "全程安排知名舒适型酒店,餐标50&免费升级1晚非挂牌五星,高性价比!",
                "携程会员独立成团,明星导游带队,全程纯玩无购物,用心推荐,出行无忧!!!"
            ],
            "diamond": 4,
            "advanceBookingDays": 1,
            "extendInfo": [
                {
                    "key": "collectible",
                    "value": "T"
                },
                {
                    "key": "comparable",
                    "value": "T"
                },
                {
                    "key": "mainName",
                    "value": "华东5市+乌镇5日4晚跟团游(4钻)"
                },
                {
                    "key": "subName",
                    "value": "升2晚5星+4正餐50餐标+金秋品蟹+25%空座率【自营力荐·枕水大华东】儿童含早「精华全含」乌镇+周庄双水乡 船游西湖+周庄环镇水上游+灵山大佛&梵宫自助素斋【万人出游真纯玩】·A线双飞"
                }
            ],
            "detailUrl": "//vacations.ctrip.com/tour/detail/p1930186s4.html",
            "isDept4HK": false,
            "districts": [
                {
                    "destID": 102016,
                    "destName": "南京路步行街"
                },
                {
                    "destID": 13253197,
                    "destName": "西湖游船"
                },
                {
                    "destID": 75721,
                    "destName": "灵山大佛"
                },
                {
                    "destID": 91402,
                    "destName": "南宋御街"
                },
                {
                    "destID": 97421,
                    "destName": "清河坊街"
                },
                {
                    "destID": 28553791,
                    "destName": "宋城千古情演出"
                },
                {
                    "destID": 10559148,
                    "destName": "灵山梵宫"
                },
                {
                    "destID": 91408,
                    "destName": "周庄"
                },
                {
                    "destID": 24313002,
                    "destName": "金茂大厦88层观光厅"
                },
                {
                    "destID": 75611,
                    "destName": "外滩"
                },
                {
                    "destID": 92253,
                    "destName": "九龙灌浴"
                },
                {
                    "destID": 10558598,
                    "destName": "留园"
                },
                {
                    "destID": 10558601,
                    "destName": "苏堤"
                },
                {
                    "destID": 82922,
                    "destName": "西湖"
                },
                {
                    "destID": 100975,
                    "destName": "夫子庙休闲购物商圈"
                },
                {
                    "destID": 75697,
                    "destName": "中山陵景区"
                },
                {
                    "destID": 97589,
                    "destName": "西栅夜游"
                },
                {
                    "destID": 100724,
                    "destName": "西栅"
                },
                {
                    "destID": 10558743,
                    "destName": "夫子庙秦淮河风光带"
                },
                {
                    "destID": 75766,
                    "destName": "花港观鱼"
                },
                {
                    "destID": 10558619,
                    "destName": "杭州宋城"
                },
                {
                    "destID": 76219,
                    "destName": "张厅"
                },
                {
                    "destID": 10758168,
                    "destName": "浦江游览"
                },
                {
                    "destID": 98941,
                    "destName": "老门东历史街区"
                },
                {
                    "destID": 76220,
                    "destName": "沈厅"
                }
            ],
            "saleChannels": [
                "0"
            ],
            "hasVideo": true,
            "minDays": 5,
            "maxDays": 5,
            "orderCount": 0
        }
    ],
    "ResponseStatus": {
        "Timestamp": "/Date(1598584002783+0800)/",
        "Ack": "Success",
        "Errors": [],
        "Extension": [
            {
                "Id": "CLOGGING_TRACE_ID",
                "Value": "368853388780495521"
            },
            {
                "Id": "RootMessageId",
                "Value": "100025527-0a3d5330-444051-1459949"
            }
        ]
    }
}

6) 请求返回结果参数说明:

字段名称字段说明类型必填备注
items stringY-
proKey stringY-
id stringY-
deptCity stringY-
buType stringY-
proName stringY-
image stringY-
saleModel stringY-
vendorName stringY-
vendorFullName stringY-
brandName stringY-
isCircleLine stringY-
isCanbooking stringY-
isDistribution stringY-
travelCount stringY-
categoryId stringY-
patternID stringY-
cityId stringY-
cityName stringY-
cityEName stringY-
destCity stringY-
pmRecommendations stringY-
diamond stringY-
advanceBookingDays stringY-
extendInfo stringY-
key stringY-
value stringY-
detailUrl stringY-
isDept4HK stringY-
districts stringY-
destID stringY-
destName stringY-
saleChannels stringY-
hasVideo stringY-
minDays stringY-
maxDays stringY-
orderCount stringY-
ResponseStatus stringY-
Timestamp stringY-
Ack stringY-
Errors stringY-
Extension stringY-
Id stringY-
Value stringY-
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序007

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值