1) 请求地址
接口地址https://psbg.jparking.cn/cw-gateway/cwzg/v1/near_park
2) 调用方式:HTTP post
3) 接口描述:
4) 请求参数:
{
"latitude": "29.563009", //坐标
"longitude": "106.551556",//坐标
"sortMode": 5,
"isRentCar": 0,
"isBooking": 0,
"isCharge": 0,
"primaryParkSource": "",
"isJpark": 0,
"distance": 500,
"pageIndex": 1,
"pageSize": 10
}
5) 请求返回结果:
{
"code": "0",
"message": null,
"success": true,
"data": [
{
"parkName": "名流公馆西区停车场",
"parkCode": "p201127757",
"address": "渝中区上清寺街道名流公馆(西区)名流公馆西区",
"canton": "重庆市重庆城区渝中区",
"emptySpaces": 83,
"totalSpaces": 1000,
"longitude": 106.547921,
"latitude": 29.56556,
"distance": 451.73533834294085,
"functionList": [
"ONLINEPAY"
],
"freeMintues": 30,
"firstHourFee": 3,
"highestFee": 20,
"openTag": 3,
"isOnlineMonthCard": 0,
"isSpaceHkeeperBook": 0,
"parkId": "de61ede2379011eb92fe2cf05d1e2a7b",
"cityName": "重庆城区",
"chargeRule": "[{\"chargeByTime\":false,\"chargeRuleDetail\":[{\"fee\":\"免费\",\"label\":\"0.5小时内\"},{\"fee\":\"3元\",\"label\":\"0.5-1小时\"},{\"fee\":\"6元\",\"label\":\"1-2小时\"},{\"fee\":\"8元\",\"label\":\"2-3小时\"},{\"fee\":\"10元\",\"label\":\"3-12小时\"},{\"fee\":\"2元/小时\",\"label\":\"12-16小时\"},{\"fee\":\"20元\",\"label\":\"16小时以上\"}],\"chargeType\":1,\"dateType\":0,\"firstPeriodFee\":3.0,\"freeMinute\":30,\"highestFee\":20.0,\"source\":1}]",
"isJpark": 1,
"isIndoorMap": 0,
"isRentOut": 0,
"isCharge": 0,
"isBooking": 0,
"isOpen": 1,
"hasFavour": 1,
"favourObject": [
"9.7折"
]
}
]
}
6) 请求返回结果参数说明:
字段名称 |
字段说明 |
类型 |
必填 |
备注 |
code |
|
string |
Y |
- |
message |
|
string |
Y |
- |
success |
|
string |
Y |
- |
data |
|
string |
Y |
- |
parkName |
|
string |
Y |
- |
parkCode |
|
string |
Y |
- |
address |
|
string |
Y |
- |
canton |
|
string |
Y |
- |
emptySpaces |
|
string |
Y |
- |
totalSpaces |
|
string |
Y |
- |
longitude |
|
string |
Y |
- |
latitude |
|
string |
Y |
- |
distance |
|
string |
Y |
- |
functionList |
|
string |
Y |
- |
freeMintues |
|
string |
Y |
- |
firstHourFee |
|
string |
Y |
- |
highestFee |
|
string |
Y |
- |
openTag |
|
string |
Y |
- |
isOnlineMonthCard |
|
string |
Y |
- |
isSpaceHkeeperBook |
|
string |
Y |
- |
parkId |
|
string |
Y |
- |
cityName |
|
string |
Y |
- |
chargeRule |
|
string |
Y |
- |
isJpark |
|
string |
Y |
- |
isIndoorMap |
|
string |
Y |
- |
isRentOut |
|
string |
Y |
- |
isCharge |
|
string |
Y |
- |
isBooking |
|
string |
Y |
- |
isOpen |
|
string |
Y |
- |
hasFavour |
|
string |
Y |
- |
favourObject |
|
string |
Y |
- |
parkSource |
|
string |
Y |
- |
packageId |
|
string |
Y |
- |
rentCarContent |
|
string |
Y |
- |