DSSH平台停车场接口文档格式.docx

上传人:b****5 文档编号:18699803 上传时间:2022-12-31 格式:DOCX 页数:26 大小:129.28KB
下载 相关 举报
DSSH平台停车场接口文档格式.docx_第1页
第1页 / 共26页
DSSH平台停车场接口文档格式.docx_第2页
第2页 / 共26页
DSSH平台停车场接口文档格式.docx_第3页
第3页 / 共26页
DSSH平台停车场接口文档格式.docx_第4页
第4页 / 共26页
DSSH平台停车场接口文档格式.docx_第5页
第5页 / 共26页
点击查看更多>>
下载资源
资源描述

DSSH平台停车场接口文档格式.docx

《DSSH平台停车场接口文档格式.docx》由会员分享,可在线阅读,更多相关《DSSH平台停车场接口文档格式.docx(26页珍藏版)》请在冰豆网上搜索。

DSSH平台停车场接口文档格式.docx

parkingLot"

dr"

}

名称

类型

必填

备注

parkingLotCode

String

车场编号

parkingLot

车场名称

备注:

如果不需要设置条件,传入空字符串即可

pagerJsonjson字符串格式

pageSize"

10,

currentPage"

1

currentPage

Int

页码

pageSize

每页显示数目

如果不需要分页而查询所有记录,传入空字符串即可

返回结果:

pager"

{"

totalPage"

0,

1,

previousPage"

nextPage"

total"

pageListSize"

8

},

arrayList"

[

id"

dh"

A1"

totalLot"

1000,

idleLot"

6,

defaultProvince"

31"

fullDeal"

isAutoControl"

isAutoOnSluice"

isOutAutoOnSluice"

discernMode"

isMonthlyAutoExit"

isFreeAutoExit"

attribute6"

1"

unknownCarExitMode"

updateDate"

Apr2,201510:

06:

40AM"

feeRuleIdList"

["

"

],

idleLotCountMode"

specialCar"

inMatchByte"

outMatchByte"

isUnInteriorAutoAlarm"

attribute1"

attribute2"

0"

attribute3"

attribute4"

}]}

totalPage

总页数

当前页

previousPage

nextPage

每页条数

total

总条数

pageListSize

id

Long

totalLot

总车位

idleLot

余位

defaultProvince

默认省份

fullDeal

Integer

车场满位后处理

isAutoControl

道闸是否自动控制

isAutoOnSluice

内部车是否自动放行

isOutAutoOnSluice

外部车是否自动放行

discernMode

识别模式:

1-车牌识别为主,2-刷卡识别为主

isMonthlyAutoExit

月卡用户自动放行:

0-否,1-是

isFreeAutoExit

收费为零自动放行:

attribute6

冗余属性6

unknownCarExitMode

未识别车辆放行模式:

1-自动放行,2-按最低金额收费

updateDate

Date

更新时间

feeRuleIdList

List

用户类别收费规则关联ID

idleLotCountMode

余位计算方式

specialCar

特殊车辆

inMatchByte

入口关心匹配字符

outMatchByte

出口关心匹配字符

isUnInteriorAutoAlarm

非内部车进行报警

attribute1

冗余属性1

attribute2

冗余属性2

attribute3

冗余属性3

attribute4

冗余属性4

1.2.2车位信息(编号、停车场区域、摄像头编号、VIP车牌号)

getParkings(StringconditionJson,StringpagerJson);

carportCode"

P001"

channelId"

100001$1$1$0"

carNum"

12"

carportName"

车位1"

carportStatus"

carportCode

车位编号

channelId

车位与探测器关联时关联的探测器ID,用于区域类型为车位的情况

carNum

车位配置的专用车辆车牌,用逗号分隔

carportName

车位名称

carportStatus

是否停车:

1-已停车,2-未停车;

carportCode、carportName、carportStatus为一组输入参数,进行查询时每一项都允许为空,若该组参数有一个不为空,channelId、carNum请勿选择,否则查询冲突。

channelId进行查询时,其它输入参数请勿选择,否则查询冲突。

carNum进行查询时,其它输入参数请勿选择,否则查询冲突。

4,

[{

carportShape

carportAllocation"

2"

mapId

memo"

carportCenterX

carportCenterY

carportType"

carAreaType"

parkingLotId"

1000169$1$0$0"

}],

errorcode"

当前页码

Id

车位编号,可以为字符;

唯一编码

车位形状

carportAllocation

是否分配:

0-未分配;

1-已分配

1-已停车,2-未停车;

车位图层

memo

车位中心点的X值

车位中心点的Y值

carportType

车位类型

carAreaType

是否是停车区域

parkingLotId

所属的停车场ID

errorcode

错误信息(1:

通过车位名称、车位编号、车位状态这组参数进行查询时,摄像头编号或车牌号请勿选择!

2:

请选择摄像头编号或车牌号其中一项进行查询,以免发生查询冲突。

1.2.3二维码定位信息

getSemacodeList(StringpagerJson);

pagerJson为json字符串;

2,

[{"

serialNumber"

23234"

gpsX

gpsY

serialNumber

二维码序列号

二维码所在地图

二维码在地图上的横坐标

二维码在地图上的纵坐标

二维码描述;

1.2.4查询设备通道信息

getEncoderChannel(StringconditionJson,StringpagerJson);

category"

type"

2

category

设备种类

type

设备类型

Category和type作为一组参数,不能分开查询,查询时两个参数都要同时赋值;

Category是整形,不允许为空,如果要查询所有通道信息时,设置category为0,type为空。

例如:

{"

"

"

code"

1000000$1$0$0"

errCode"

name

通道名称

code

设备编码

errCode

错误信息(设备种类不为0时,请输入设备类型,设备类型不为空时,设备种类不能为0,否则查询异常)

1.2.5停车场电子地图反向寻车

获取路径信息流程图:

(1)通过车牌号获取停车信息接口

searchCarInfoByPlateNumber(StringsearchJson,StringpageJson,Stringextend)

searchJson,为json字符串;

浙A8888"

searchJson

车牌信息

pageJson

扩展字段,为分页预留

extend

扩展字段,暂时没使用

格式{RspCode:

1,RspMsg:

xxx,RspData:

json数组}

Json数组中各对象含义:

停车记录的ID

车牌号

carImgUrl

抓拍图片地址URL

parkDate

停车时间

车位编码

停车所在地图ID

车位位置横坐标

车位位置纵坐标

(2)通过二维码序列号获取二维码的位置

getLocationBySerialNumber(StringserialNumber,Stringextend);

serialNumber:

二维码序列号格式为;

xxxxxx;

extend扩展字段,暂时没使用

10003

二维码序列号信息

json对象}、

二维码所在地图ID

pointX

二维码横坐标

pointY

二维码纵坐标

(3)通过地图的ID获取地图的图片地址URL

getMapImgUrlByMapId(StringmapId,Stringextend);

mapId:

地图ID格式为:

xxxxxxx

地图ID

json对象}

imgUrl

地图图片的访问地址URL

(4)获取最短路径

getRouter(Stringlocations,Stringextend);

locations包含两个点的位置的字符串,格式为:

*[{mapId:

xxxx,pointX:

xxxx,pointY:

xxxx},{mapId:

xxxx}]

[{mapId,pointXmapIdpointXpointY

[{mapId,pointX:

pointY:

},{mapIdpointXpointY

132/admin/services/FindCarService?

-,pointY:

},{mapIdpointX:

pointY:

}]

[{mapId:

pointX,}

{mapId:

pointX:

1.

2.

locations

包含两个点的位置的字符串

json数组}

int

点的ID

[{mapIdpointXpointY,{mapIdpointXpointY

我写的一个接口getParkings也没有数据,你传入参数如下:

001"

}这组参数任意传那个都行

浙A1002"

(5)获取所有的地图

接口

StringgetAllMaps(StringsearchJson,StringpageJson,Stringextend)

参数

searchJson:

{查询json字符串,该接口中目前没用到}

pageJson:

{分页json字符串,该接口中目前没用到}

extend:

{扩展json字符串,该接口中目前没用到}

返回

成功:

1,json数组字符串

失败:

返回数据的json数组字段说明

序号

字段名

长度

必须

地图名称

1.2.6查询车辆进出场记录

getCarOutInHistory

WSDL

描述

根据传入的时间范围参数查询相应的车辆进出场记录

名称

类型

含义

startDate

查询起始时间,格式:

2015-01-0110:

25:

33

endDate

查询结束时间,格式:

2015-01-0210:

String,进出场记录列表对应的json字符串

Ø

调用示例:

getCarOutInHistory(“2015-01-0110:

33”,“2015-01-0210:

33”);

返回值示例:

array"

[{"

carNumber"

浙AAN909"

enterDate"

2015-01-0911:

19:

29.0"

enterChannel"

入口"

exitDate"

21:

43.0"

exitChannel"

出口"

cardNumber"

money"

null"

},{"

浙AN386Y"

2014-12-2011:

38.0"

14:

44.0"

cardNumber]}

1.2.7更新道闸系统卡片充值信息

updateCards

从第三方同步卡片充值信息到道闸系统中

cardInfos

(标准Json字符串)

卡片相关信息(支持多张卡)

格式为:

cardList"

[

1000001"

200,

startTime"

2015-01-0112:

30:

00"

endTime"

2015-01-3112:

},

1000003"

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1