协议作用:用于APP车牌查询计费功能
名称 | 类型 | 描述 |
---|---|---|
status | Boolean | 操作结果 |
msg | String | 调用接口返回消息 |
data | String | 调用结果返回对象 |
code | String | 异常代码,用于显示出错的类型,并能做出相应的处理事件 0000 车牌查询计费操作成功 9999 车牌查询计费操作异常//计费操作异常 0002 车场代号(parkCode)不能为null或空字符串 0005 车牌号码(carNo)不能为null或空字符串 0022 没有查询到收费规则 0024 该车已离场 0043 验证码(code)不能为null或空字符串 0048 车牌号码(carNo)格式不正确 0057 未在云平台查询到此卡,请联系管理员 0065 用户不存在 0087 验证码错误 0101 该车场无商户号及密钥等信息 |
返回示例:(返回JSON格式字符串,实际返回结果以服务器为标准)
{"data":{"cardId":"999999","parkName":"华港商务","carInTime":"2015-01-26 09:06:00","leaveTime":"2015-01-28 15:55:15","pay":{"id":"0f57e647-faea-4387-8422-31bb24795d5c","type":1,"payKey":"e980ccaa-94f3-49ec-b904-ed1ee57df2f7","dadMerchantNo":"6fe42edc-e6da-4f4c-beaa-ead272e0d34b","ltdCode":"2000001","parkCode":"02000001","merchantNo":"b2d42260-441a-49af-9b75-876d65030e13"},"parkFeeValue":{"hasFee":"0.0","partyMoney":"0","allParkTime":"54时49分","lastPetTime":null,"nightAllFee":"5.62","shouldPayFee":"10.23","currFavMoney":"0","currFavTime":"0","allFeeTime":"54时49分","oldshouldPayFee":"0","nextChargeTime":"未知","nextChargeMoney":"未知","chargingCar":"通用","favMoney":"0.0","favTime":"0","allFee":"10.23"},"cardType":"临时卡"}, "status":true, "code":"0000", "msg":"车牌查询计费操作成功"}