文档
测试

查询附近充电桩Search Nearby Charging Pile

POST
/nearby

接口描述

应用场景Application scenario: 查找附近的充电桩 Search nearby charging pile

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
token
String
身份标识 Identification
必填
lat
Double
纬度 Latitude
必填
lng
Double
经度 Longitude
必填
deviceName
String
设备名称
可选
deviceFamily
Integer
0、二轮车充电桩 1、汽车充电桩
可选

响应参数

参数名
类型
描述
必填
data
object
必填
success
boolean
请求成功与否标识 Identification for request success or not
必填

返回字段Return field

参数名
类型
描述
必填
address
String
地址 Location
必填
cityId
Integer
城市id City ID
必填

说明 / 示例

返回示例 Return the example ``` { "data": [ { "address":"江西省, 赣州市, 章贡区, 赞贤路", "cityId":270222, "deviceFamily":0, "deviceType":0, "estateId":973, "freePortCount":9, "id":106511, "inTime":1562662293000, "lat":25.833246, "lng":114.930565, "name":"平台测试2", "online":1, "portNumber":10, "provinceId":262698, "simId":"865800045115984", "status":1 }, { "address":"江西省, 赣州市, 章贡区, 赞贤路", "cityId":270222, "deviceFamily":0, "deviceType":0, "estateId":128, "freePortCount":9, "id":106476, "inTime":1561100136000, "lat":25.832159, "lng":114.929016, "name":"测试机1", "online":1, "portNumber":10, "provinceId":262698, "simId":"865800045129761", "status":1 } ], "success":true } english : { "data": [ { "address":"Zanxian Road, Zhanggong District, Ganzhou City, Jiangxi Province", "cityId":270222, "deviceFamily":0, "deviceType":0, "estateId":973, "freePortCount":9, "id":106511, "inTime":1562662293000, "lat":25.833246, "lng":114.930565, "name":"Platform test 2", "online":1, "portNumber":10, "provinceId":262698, "simId":"865800045115984", "status":1 }, { "address":"Zanxian Road, Zhanggong District, Ganzhou City, Jiangxi Province", "cityId":270222, "deviceFamily":0, "deviceType":0, "estateId":128, "freePortCount":9, "id":106476, "inTime":1561100136000, "lat":25.832159, "lng":114.929016, "name":"Platform test 2", "online":1, "portNumber":10, "provinceId":262698, "simId":"865800045129761", "status":1 } ], "success":true } ```