汽车票查询上车点接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
cityCode | String | 可选 | 810100 | 城市编码 | |
cityName | String | 可选 | 香港 | 城市名称 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
retCode | String | 0 | 返回错误码 |
retDesc | String | 成功 | 返回错误信息 |
stationList | BusStation [] | 上车点list(是必填) | |
|
|||
success | Boolean | true | 成功状态 |
1 | {"cityName":"香港","cityCode":"810100"} |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | { "retCode":"0", "retDesc":"成功", "stationList":[ { "stationCode":"123456789", "stationName":"香港机场", "stationAddress":"香港机场南口", "longitude":"105.469673", "latitude":"32.033114", "cityName":"香港", "provinceName":"香港", "presellDay":7, "presellTime":120, "maxSellNum":5, "sellStartTime":"05:00", "sellEndTime":"18:00", "refundTime":120, "isRefund":true, "isOrderRefund":true, "refundMsg":"1", "obtainVoucher":"0", "supportEticket":true, "status":1, "servicePrice":"100", "attribute":"{\"param\":\"param\"}", "supportWithChild":false, "supportChild":true, "refundStructuredInfo":"\"[{\"key\":\"发车前4-6小时\",\"seq\":\"1\",\"value\":\"不收取退票手续费\"},{\"ext\":\"如有紧急情况请联系车站\",\"key\":\"发车前2-4小时\",\"seq\":\"2\",\"value\":\"收取5%手续费\"},{\"key\":\"发车前1-2小时\",\"seq\":\"3\",\"value\":\"收取10%手续费\"}]\"" } ], "success":true } |
1 | {"retDesc":"Illegal request","success":"false","retCode":"sign-check-failure"} |
错误码 | 错误描述 | 解决方案 |
---|