通过站点名称查询线路信息

测试地址:

{url}/dev-api/customer/livebus/linesStation

生产地址:

{url}/api/customer/livebus/linesStation

HTTP Method:GET
**

具体请求

header:
请求参数 说明
Authorization access_token 这里传登录获取的access_token

body:

请求参数说明

参数名 类型 是否必填 说明 示例
stationName String 站点名称 花园路艾科路口

响应参数

成功响应示例

  1. {
  2. "msg": "操作成功",
  3. "code": 200,
  4. "data": [
  5. {
  6. "price": 2.00,
  7. "oneList": [
  8. {
  9. "firstTime": "06:20:00",
  10. "lastTime": "18:16:00",
  11. "originStationName": "站北花园北门",
  12. "flag": "1",
  13. "theOtherBusAwayFrom": 1000,
  14. "sn": 40,
  15. "nextBusAwayFrom": 1000,
  16. "nextBusStationName": "未发车",
  17. "runStatus": 0,
  18. "terminateStationName": "花园路北首"
  19. },
  20. {
  21. "firstTime": "06:20:00",
  22. "lastTime": "18:16:00",
  23. "originStationName": "花园路北首",
  24. "flag": "2",
  25. "theOtherBusAwayFrom": 1000,
  26. "sn": 2,
  27. "nextBusAwayFrom": 1000,
  28. "nextBusStationName": "未发车",
  29. "runStatus": 0,
  30. "terminateStationName": "站北花园北门"
  31. }
  32. ],
  33. "lineId": "105",
  34. "lineName": "K5路"
  35. },
  36. {
  37. "price": 2.00,
  38. "oneList": [
  39. {
  40. "firstTime": "07:18:00",
  41. "lastTime": "17:44:00",
  42. "originStationName": "区武装部",
  43. "flag": "2",
  44. "theOtherBusAwayFrom": 1000,
  45. "sn": 27,
  46. "nextBusAwayFrom": 1000,
  47. "nextBusStationName": "未发车",
  48. "runStatus": 0,
  49. "terminateStationName": "北外环白庄西站"
  50. },
  51. {
  52. "firstTime": "06:30:00",
  53. "lastTime": "16:56:00",
  54. "originStationName": "北外环白庄西站",
  55. "flag": "1",
  56. "theOtherBusAwayFrom": 1000,
  57. "sn": 5,
  58. "nextBusAwayFrom": 1000,
  59. "nextBusStationName": "未发车",
  60. "runStatus": 0,
  61. "terminateStationName": "区武装部"
  62. }
  63. ],
  64. "isCollect": 2,
  65. "lineId": "138",
  66. "lineName": "K138路"
  67. }
  68. ]
  69. }

失败响应示例

响应参数说明

参数名 说明 备注
code 返回码 为200表示成功,非200表示调用失败,其他错误码请见返回码说明
data 返回数据
isCollect 是否收藏 1:是;2:否
msg 返回码的文本描述内容

请打开该网址查看参数信息:http://tw.twgiot.com:38092/data-center/doc.html#/default/%E5%AE%9E%E6%97%B6%E5%85%AC%E4%BA%A4/getlinesInfoByStationNameUsingGET

注意事项:
暂无