手持机离场收费记录同步接口(/handSynchronization)

协议作用:手持机离场收费记录同步功能

名称 类型 是否必须 描述
openKey String 密钥
startdate String 同步开始时间
enddate String 同步结束时间
hsType String 同步记录类型:1:同步时间为空;2:同步时间不为空
名称 类型 描述
status Boolean 操作结果
msg String 调用接口返回消息
data String 调用结果返回对象
code String 异常代码,用于显示出错的类型,并能做出相应的处理事件
0000 离场收费记录同步接口操作成功
9999 离场收费记录同步接口操作异常
1000 接口密钥(openKey)不对应
0060 时间格式不正确
0076 获取同步开始时间(startdate)不能为null或空字符串
0077 获取同步结束时间(enddate)不能为null或空字符串
0078 找不到相对应的收费记录
0079 找不到相对应的离场记录
0081 同步记录类型不能为null或空字符串
返回示例:(返回JSON格式字符串,实际返回结果以服务器为标准)
{"data":
[{"id":"2ea43f6b-3ca5-46df-8313-2edff40908d7","type":1,"status":1,"password":null,"ltdCode":"7630001","parkCode":"07630001","macCode":"51c298025ac86c0e","accTime":1409797556000,"cardId":"20140904102556","carNo":"京A123456","filePath":null,"actionTime":1409797556000,"createDate":1409797608000,"operator":"rsj","leaveTime":null,"parkName":"所有车场","doorName":"手持机通道","cardType":null,"videoNo":"","upseason":0,"feeseason":"","isHardware":null,"phoneNo":null,"isImg":null,"isHandset":1,"readerAddr":"0","inCarType":"","enterType":2},
{"id":"5d04d1ec-2de1-4f06-b614-c8708c206c89","type":1,"status":1,"password":null,"ltdCode":"7630001","parkCode":"07630001","macCode":"51c298025ac86c0e","accTime":1409797819000,"cardId":"20140904103019","carNo":"京b55555","filePath":null,"actionTime":1409797819000,"createDate":1409798002000,"operator":"rsj","leaveTime":null,"parkName":"所有车场","doorName":"手持机通道","cardType":null,"videoNo":"","upseason":0,"feeseason":"","isHardware":null,"phoneNo":null,"isImg":null,"isHandset":1,"readerAddr":"0","inCarType":"","enterType":2},
{"id":"66e0f52d-9371-4448-b37b-63146d5c005c","type":1,"status":1,"password":null,"ltdCode":"7630001","parkCode":"07630001","macCode":"51c298025ac86c0e","accTime":1409797677000,"cardId":"20140904102757","carNo":"京A321654","filePath":null,"actionTime":1409797677000,"createDate":1409797758000,"operator":"rsj","leaveTime":null,"parkName":"所有车场","doorName":"手持机通道","cardType":null,"videoNo":"","upseason":0,"feeseason":"","isHardware":null,"phoneNo":null,"isImg":null,"isHandset":1,"readerAddr":"0","inCarType":"","enterType":2},
{"id":"db6de8b7-b409-4ade-9a01-7c36cf9b6326","type":1,"status":1,"password":null,"ltdCode":"7630001","parkCode":"07630001","macCode":"51c298025ac86c0e","accTime":1409797571000,"cardId":"20140904102611","carNo":"京A23456","filePath":null,"actionTime":1409797571000,"createDate":1409797633000,"operator":"rsj","leaveTime":null,"parkName":"所有车场","doorName":"手持机通道","cardType":null,"videoNo":"","upseason":0,"feeseason":"","isHardware":null,"phoneNo":null,"isImg":null,"isHandset":1,"readerAddr":"0","inCarType":"","enterType":2}],
"status":true,
"code":"0000",
"msg":"离场收费记录同步接口操作成功"}