查询汽车票路线接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| fromCityName | String | 可选 | 北京 | 出发城市名称 | |
| fromCityCode | String | 可选 | C001 | 出发城市code |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| retCode | String | 0 | 错误码 |
| retDesc | String | 成功 | 错误描述 |
| routeList | BusRoute [] | 路线列表(必填) | |
|
|||
| success | Boolean | true | 业务是否成功 |
{"fromCityCode":"C001","fromCityName":"北京"}
{
"retCode":"0",
"retDesc":"成功",
"routeList":[
{
"fromCityName":"香港",
"fromStationCode":"123456789",
"fromStationName":"香港机场海天码头",
"destinationName":"蛇口",
"toCityName":"深圳",
"toProvinceName":"深圳",
"lineName":"香港-深圳",
"lineDesc":"xxx",
"toStationCode":"123456",
"toStationAddress":"蛇口",
"toStationLongitude":"105.469673",
"toStationLatitude":"35.033114",
"attribute":"{\"param\":\"param\"}"
}
],
"success":true
}
{"retDesc":"Illegal request","success":"false","retCode":"sign-check-failure"}
| 错误码 | 错误描述 | 解决方案 |
|---|