> 支持 SDK车场、4G 车场
测试地址:http://test.bolink.club/zld/lockcar/dolock
正式地址:http://yun.bolink.club/zld/lockcar/dolock
| 字段名称 | 说明 | 类型 | 示例 | 是否必传字段 |
| --- | --- | --- | --- | --- |
comid |车场编号| String |3251 |是
| union_id | 厂商平台账号 | String| 200002 | 是 |
car_number| 入场的车牌号| String |冀ATQ885 |是
lock_status| 锁车状态 |Number |0解锁,1加锁 |是
示例:
测试地址:http://test.bolink.club/zld/lockcar/dolock
> json示例:
{"data":{"comid":"21782","union_id":"200160","car_number":"冀ATQ885","lock_status":0},"sign":"B988E9FAA4B2B2B75C40A5D464804F71"}
>
> 发送Base64位数据:
> ew0KCSJkYXRhIjogew0KCQkiY29taWQiOiAiMjE3ODIiLA0KCQkidW5pb25faWQiOiAiMjAwMTYwIiwNCgkJImNhcl9udW1iZXIiOiAi5YaAQVRRODg1IiwNCgkJImxvY2tfc3RhdHVzIjogMA0KCX0sDQoJInNpZ24iOiAiQjk4OEU5RkFBNEIyQjJCNzVDNDBBNUQ0NjQ4MDRGNzEiDQp9
同步返回:Base64处理过的字符串
| 字段名称 | 类型 | 说明 | 是否必传字段 | 示例 |
| --- | --- | --- | --- | --- |
state |Number| 调用结果, 0失败,1成功 | 是| 1
message| String |提示信息 |是 |锁定成功
> 示例:eyJkYXRhIjp7InN0YXRlIjowLCJtZXNzYWdlIjoi5pON5L2c5aSx6LSl77yM5rKh5pyJ5Zyo5Zy66K6i5Y2VIn0sInNpZ24iOiJCOTg4RTlGQUE0QjJCMkI3NUM0MEE1RDQ2NDgwNEY3MSJ9