获取充电桩所有数据
测试地址:
{url}/dev-api/customer/livebus/groupStationList
生产地址:
{url}/api/customer/livebus/groupStationList
是否白名单:是
具体请求
header:
body:
请求参数说明
| 参数名 | 类型 | 是否必填 | 说明 | 示例 |
|---|---|---|---|---|
| location | String | 是 | 经纬度 | 116.397228,39.909605 |
响应参数
成功响应示例
{"msg": "操作成功","code": 200,"data": [{"id": 484,"address": "聊城市东昌府区柳园北路辅路","connectorid": "6G01010100","connectortype": "4","current": "0","electricityfee": "暂无","equipmentld": "6G010101","equipmentname": "01#系统","lockstatus": "0","nationalstandard": "2","parkstatus": "0","power": "15.0","stationid": "6G0101","stationlat": "36.468376","stationlng": "115.95945","stationname": "聊城公交集团第三分公司","status": "1","updatetime": "2022-05-10 16:15:01","voltagelowerlimits": "300","voltageupperlimits": "750","chargingcount": "20","leisurechargingcount": "14","distance": "384.984"},{"id": 504,"address": "山东省聊城市东昌府区聊位路165","connectorid": "6G01020100","connectortype": "4","current": "0","electricityfee": "暂无","equipmentld": "6G010201","equipmentname": "01#系统","lockstatus": "0","nationalstandard": "2","parkstatus": "0","power": "15.0","stationid": "6G0102","stationlat": "36.40012","stationlng": "115.99626","stationname": "聊城公交集团第四分公司充电站","status": "2","updatetime": "2022-05-10 16:15:01","voltagelowerlimits": "300","voltageupperlimits": "750","chargingcount": "40","leisurechargingcount": "21","distance": "392.246"},{"id": 544,"address": "山东省聊城市东昌府区卫育北路","connectorid": "6G01030100","connectortype": "4","current": "0","electricityfee": "暂无","equipmentld": "6G010301","equipmentname": "01#系统","lockstatus": "0","nationalstandard": "2","parkstatus": "0","power": "15.0","stationid": "6G0103","stationlat": "36.50275","stationlng": "115.97832","stationname": "聊城公交集团卫育路充电场站","status": "1","updatetime": "2022-05-10 16:15:01","voltagelowerlimits": "300","voltageupperlimits": "750","chargingcount": "200","leisurechargingcount": "189","distance": "381.014"},{"id": 744,"address": "聊城市东昌府区柳园北路辅路","connectorid": "6G01040100","connectortype": "4","current": "120","electricityfee": "暂无","equipmentld": "6G010401","equipmentname": "01#系统","lockstatus": "0","nationalstandard": "2","parkstatus": "0","power": "15.0","stationid": "6G0104","stationlat": "36.493744","stationlng": "115.982994","stationname": "聊城公交集团一分公司充电站","status": "1","updatetime": "2022-05-10 16:15:01","voltagelowerlimits": "300","voltageupperlimits": "750","chargingcount": "50","leisurechargingcount": "46","distance": "381.973"},{"id": 794,"address": "聊城市东昌府区杭州路与东二环路交叉口","connectorid": "6G01050100","connectortype": "4","current": "200","electricityfee": "暂无","equipmentld": "6G010501","equipmentname": "01#系统","lockstatus": "0","nationalstandard": "2","parkstatus": "0","power": "15.0","stationid": "6G0105","stationlat": "36.409298","stationlng": "116.055984","stationname": "聊城公交杭州路充电站","status": "1","updatetime": "2022-05-10 16:15:01","voltagelowerlimits": "300","voltageupperlimits": "750","chargingcount": "60","leisurechargingcount": "57","distance": "390.795"},{"id": 854,"address": "聊城市东昌府区周公路和二干渠交叉口","connectorid": "6G01060100","connectortype": "4","current": "125","electricityfee": "暂无","equipmentld": "6G010601","equipmentname": "01#系统","lockstatus": "0","nationalstandard": "2","parkstatus": "0","power": "15.0","stationid": "6G0106","stationlat": "36.4893","stationlng": "116.0285","stationname": "聊城公交周公路充电站","status": "1","updatetime": "2022-05-10 16:15:01","voltagelowerlimits": "300","voltageupperlimits": "750","chargingcount": "60","leisurechargingcount": "55","distance": "382.109"}]}
失败响应示例
响应参数说明
| 参数名 | 说明 | 备注 |
|---|---|---|
| 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
注意事项:
暂无
