查询船票路线接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
from_city_name | String | 可选 | 北京 | 出发城市名称 | |
from_city_code | String | 可选 | C001 | 出发城市code |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
ret_desc | String | 成功 | 错误描述 |
route_list | ShipRoute [] | 路线列表 | |
|
|||
ret_code | String | 0 | 错误码 |
extAttr | String | {"param":"param"} | 扩展属性 json格式 |
success | String | true | 成功状态 |
1 | {"from_city_name":"北京","from_city_code":"C001"} |
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 34 35 36 37 | { "ret_desc":"成功", "route_list":[ { "to_city_name":"深圳", "from_station_name":"香港机场海天码头", "line_name":"普通班次", "to_station_code":"123456", "to_station_address":"蛇口港", "to_province_name":"深圳", "to_station_longitude":"105.469673", "to_station_name":"蛇口港", "from_city_code":"001", "lineDesc":"xxx", "to_station_latitude":"35.033114", "from_city_name":"香港", "from_station_code":"123456789", "region_name":"珠三角", "to_city_code":"深圳", "presell_time":120, "refund_msg":"xx", "sell_end_time":"18:00", "is_order_refund":1, "sell_start_time":"05:00", "obtain_voucher":"凭订单号和身份证取票", "max_sell_num":5, "refund_time":120, "service_price":"100", "is_refund":"1", "support_eticket":"true", "presell_day":"7" } ], "ret_code":"0", "extAttr":"{\"param\":\"param\"}", "success":"true" } |
1 | {"success":"false","ret_desc":"Illegal request","ret_code":"sign-check-failure"} |
错误码 | 错误描述 | 解决方案 |
---|