> 支持 SDK车场、4G 车场
测试地址:http://test.bolink.club/zld/openservice/handlewhitecar
正式地址:http://yun.bolink.club/zld/openservice/handlewhitecar
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
comid |车场编号| String|20001| 是
union_id |厂商平台账号| String |200000| 是
car_number |车牌 |String| 京GH0093 |是
operate_type |操作类型 |Number |1添加 2修改 3删除 |是
b_time |开始时间(unix时间戳格式到秒) |Number |1490875218 |是
e_time |结束时间(unix时间戳格式到秒) |Number |1490879218 |否(end_type为1 时不传)
end_type |是否长期类型 |Number |1是, 0不是| 是
user_name |车主姓名 |String| 张三 |否
remark |备注 |String |上传内部车| 否
mobile |联系电话 |String |15000000000| 否
car_location| 车位号 |String| 1_101 |否
white_type |车主类别编号| Number |32| 否
> 示例:
> {"data":{"comid":"20000","union_id":"200000","car_number":"京A12345","operate_type":2,"b_time":1638288000,"e_time":1640793600,"end_type":0,"user_name":"ZX","remark":"测试","mobile":"18822222222","car_location":"101"},"sign":"498D305F01585205484B55712601AF2A"}
> 对json进行Base64编码:
> eyJkYXRhIjp7ImNvbWlkIjoiMjAwMDAiLCJ1bmlvbl9pZCI6IjIwMDAwMCIsImNhcl9udW1iZXIiOiLkuqxBMTIzNDUiLCJvcGVyYXRlX3R5cGUiOjIsImJfdGltZSI6MTYzODI4ODAwMCwiZV90aW1lIjoxNjQwNzkzNjAwLCJlbmRfdHlwZSI6MCwidXNlcl9uYW1lIjoiWlgiLCJyZW1hcmsiOiLmtYvor5UiLCJtb2JpbGUiOiIxODgyMjIyMjIyMiIsImNhcl9sb2NhdGlvbiI6IjEwMSJ9LCJzaWduIjoiNDk4RDMwNUYwMTU4NTIwNTQ4NEI1NTcxMjYwMUFGMkEifQ==
返回:
| 字段名称 | 类型 | 说明 | 是否必传字段 | 示例 |
| --- | --- | --- | --- | --- |
state| Number |调用结果 0失败,1成功|是 |1
message | String|提示信息 |是 |修改成功
示例:
> 解码后结果: