获取充电桩所有数据

测试地址:

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

生产地址:

{url}/api/customer/livebus/groupStationList

HTTP Method:GET
Content-Type:

是否白名单:是

具体请求

header:

body:

请求参数说明

参数名 类型 是否必填 说明 示例
location String 经纬度 116.397228,39.909605

响应参数

成功响应示例

  1. {
  2. "msg": "操作成功",
  3. "code": 200,
  4. "data": [
  5. {
  6. "id": 484,
  7. "address": "聊城市东昌府区柳园北路辅路",
  8. "connectorid": "6G01010100",
  9. "connectortype": "4",
  10. "current": "0",
  11. "electricityfee": "暂无",
  12. "equipmentld": "6G010101",
  13. "equipmentname": "01#系统",
  14. "lockstatus": "0",
  15. "nationalstandard": "2",
  16. "parkstatus": "0",
  17. "power": "15.0",
  18. "stationid": "6G0101",
  19. "stationlat": "36.468376",
  20. "stationlng": "115.95945",
  21. "stationname": "聊城公交集团第三分公司",
  22. "status": "1",
  23. "updatetime": "2022-05-10 16:15:01",
  24. "voltagelowerlimits": "300",
  25. "voltageupperlimits": "750",
  26. "chargingcount": "20",
  27. "leisurechargingcount": "14",
  28. "distance": "384.984"
  29. },
  30. {
  31. "id": 504,
  32. "address": "山东省聊城市东昌府区聊位路165",
  33. "connectorid": "6G01020100",
  34. "connectortype": "4",
  35. "current": "0",
  36. "electricityfee": "暂无",
  37. "equipmentld": "6G010201",
  38. "equipmentname": "01#系统",
  39. "lockstatus": "0",
  40. "nationalstandard": "2",
  41. "parkstatus": "0",
  42. "power": "15.0",
  43. "stationid": "6G0102",
  44. "stationlat": "36.40012",
  45. "stationlng": "115.99626",
  46. "stationname": "聊城公交集团第四分公司充电站",
  47. "status": "2",
  48. "updatetime": "2022-05-10 16:15:01",
  49. "voltagelowerlimits": "300",
  50. "voltageupperlimits": "750",
  51. "chargingcount": "40",
  52. "leisurechargingcount": "21",
  53. "distance": "392.246"
  54. },
  55. {
  56. "id": 544,
  57. "address": "山东省聊城市东昌府区卫育北路",
  58. "connectorid": "6G01030100",
  59. "connectortype": "4",
  60. "current": "0",
  61. "electricityfee": "暂无",
  62. "equipmentld": "6G010301",
  63. "equipmentname": "01#系统",
  64. "lockstatus": "0",
  65. "nationalstandard": "2",
  66. "parkstatus": "0",
  67. "power": "15.0",
  68. "stationid": "6G0103",
  69. "stationlat": "36.50275",
  70. "stationlng": "115.97832",
  71. "stationname": "聊城公交集团卫育路充电场站",
  72. "status": "1",
  73. "updatetime": "2022-05-10 16:15:01",
  74. "voltagelowerlimits": "300",
  75. "voltageupperlimits": "750",
  76. "chargingcount": "200",
  77. "leisurechargingcount": "189",
  78. "distance": "381.014"
  79. },
  80. {
  81. "id": 744,
  82. "address": "聊城市东昌府区柳园北路辅路",
  83. "connectorid": "6G01040100",
  84. "connectortype": "4",
  85. "current": "120",
  86. "electricityfee": "暂无",
  87. "equipmentld": "6G010401",
  88. "equipmentname": "01#系统",
  89. "lockstatus": "0",
  90. "nationalstandard": "2",
  91. "parkstatus": "0",
  92. "power": "15.0",
  93. "stationid": "6G0104",
  94. "stationlat": "36.493744",
  95. "stationlng": "115.982994",
  96. "stationname": "聊城公交集团一分公司充电站",
  97. "status": "1",
  98. "updatetime": "2022-05-10 16:15:01",
  99. "voltagelowerlimits": "300",
  100. "voltageupperlimits": "750",
  101. "chargingcount": "50",
  102. "leisurechargingcount": "46",
  103. "distance": "381.973"
  104. },
  105. {
  106. "id": 794,
  107. "address": "聊城市东昌府区杭州路与东二环路交叉口",
  108. "connectorid": "6G01050100",
  109. "connectortype": "4",
  110. "current": "200",
  111. "electricityfee": "暂无",
  112. "equipmentld": "6G010501",
  113. "equipmentname": "01#系统",
  114. "lockstatus": "0",
  115. "nationalstandard": "2",
  116. "parkstatus": "0",
  117. "power": "15.0",
  118. "stationid": "6G0105",
  119. "stationlat": "36.409298",
  120. "stationlng": "116.055984",
  121. "stationname": "聊城公交杭州路充电站",
  122. "status": "1",
  123. "updatetime": "2022-05-10 16:15:01",
  124. "voltagelowerlimits": "300",
  125. "voltageupperlimits": "750",
  126. "chargingcount": "60",
  127. "leisurechargingcount": "57",
  128. "distance": "390.795"
  129. },
  130. {
  131. "id": 854,
  132. "address": "聊城市东昌府区周公路和二干渠交叉口",
  133. "connectorid": "6G01060100",
  134. "connectortype": "4",
  135. "current": "125",
  136. "electricityfee": "暂无",
  137. "equipmentld": "6G010601",
  138. "equipmentname": "01#系统",
  139. "lockstatus": "0",
  140. "nationalstandard": "2",
  141. "parkstatus": "0",
  142. "power": "15.0",
  143. "stationid": "6G0106",
  144. "stationlat": "36.4893",
  145. "stationlng": "116.0285",
  146. "stationname": "聊城公交周公路充电站",
  147. "status": "1",
  148. "updatetime": "2022-05-10 16:15:01",
  149. "voltagelowerlimits": "300",
  150. "voltageupperlimits": "750",
  151. "chargingcount": "60",
  152. "leisurechargingcount": "55",
  153. "distance": "382.109"
  154. }
  155. ]
  156. }

失败响应示例

响应参数说明

参数名 说明 备注
code 返回码 为200表示成功,非200表示调用失败,其他错误码请见返回码说明
msg 返回码的文本描述内容
data 返回数据
chargingcount 站点充电桩总数
leisurechargingcount 站点充电桩空闲总数
distance 距离 通过经纬度计算 单位km

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

注意事项:
暂无