文档中心 > 京杭一键出票

京杭运价接口

更新时间:2021/03/23 访问次数:3731

概述

通过整理全量和增量接口批量获取旗舰店产品数据,商家可对此数据进行加工后外投进行收单。

【京杭】——产品询价

文件内容结构见下方

{
    "lastTime": "2016-11-28 01:00:00",
    "flights": [{
                "airlineCode": "CA",
                "arrAirport": "CAN",
                "arrTime": "2016-11-28 23:45:00",
                "cabins": [{
                    "cabin": "F",
                    "cabinClass": 0,
                    "cabinNumber": "3",
                    "cabinPrice": 2950,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 2950
                }, {
                    "cabin": "Y",
                    "cabinClass": 2,
                    "cabinNumber": "A",
                    "cabinPrice": 1180,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 1180
                }, {
                    "cabin": "V",
                    "cabinClass": 2,
                    "cabinNumber": "A",
                    "cabinPrice": 720,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 720
                }],
                "depAirport": "HGH",
                "depDate": "2016-11-28",
                "depTime": "2016-11-28 21:15:00",
                "flightNo": "CA3606"
            }, {
                "airlineCode": "CA",
                "arrAirport": "CAN",
                "arrTime": "2016-11-28 16:05:00",
                "cabins": [{
                    "cabin": "Y",
                    "cabinClass": 2,
                    "cabinNumber": "A",
                    "cabinPrice": 1120,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 1120
                }, {
                    "cabin": "A",
                    "cabinClass": 0,
                    "cabinNumber": "2",
                    "cabinPrice": 1300,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 1300
                }, {
                    "cabin": "Q",
                    "cabinClass": 2,
                    "cabinNumber": "A",
                    "cabinPrice": 800,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 800
                }, {
                    "cabin": "F",
                    "cabinClass": 0,
                    "cabinNumber": "4",
                    "cabinPrice": 2800,
                    "childPrice": 0,
                    "invalidTime": "2016-11-28 02:38:29",
                    "ticketPrice": 2800
                }],
                "depAirport": "HGH",
                "depDate": "2016-11-28",
                "depTime": "2016-11-28 13:50:00",
                "flightNo": "CA1721"
            }]
}

FAQ

关于此文档暂时还没有FAQ
返回
顶部