使用本接口需要先使用【注册抓拍设备】接口注册设备device_type_code参数为ai-vehicle-barrier
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/aiot/building-site-snap-device/ois-ai-vehicle-barrier
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| tenant_code | query | string | 是 | 前联系明源相关人员获取 | 租户code | |
| device_id | body | string | 是 | 注册接口获取到的id | 明源设备uuid | |
| plate_num | body | string | 是 | 粤Bxxxxxx | 车牌号 | |
| happen_time | body | string | 是 | 2021-08-08 15:33:44 | 发生时间 | |
| source | body | string | 是 | 汇一 | 来源 | |
| third_proj_id | body | string | 是 | 项目id | ||
| direction | body | string | 是 | 1 | 方向1进2出 | |
| entering | body | string | 是 | 2 | 入场方式1自动放行2手动放行 | |
| scene_image_url | body | string | 是 | https://open.mysre.cn/0001.png | 全景图片http地址 | |
| plate_url | body | string | 是 | https://open.mysre.cn/0001.png | 车牌图http地址 | |
| owners_name | body | string | 否 | 张三 | 车主信息 | |
| owners_no | body | string | 否 | V00152 | 车主序列号 | |
| user_name | body | string | 否 | 保安001 | 操作人员名称 | |
| user_id | body | string | 否 | SN112554 | 操作人员id |
POST /aiot/open/building-site-snap-device/ois-ai-vehicle-barrier?tenant_code={tenant_code}
{
"errcode": 0,
"errmsg": ""
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | 错误code不等于0为异常 |
| errmsg | string | 异常信息 |
{
"errcode": -1,
"errmsg": "direction|entering can only be 1 or 2"
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | 错误code不等于0为异常 |
| errmsg | string | 异常信息 |