智能车辆道闸设备

更新时间:2022-03-17 20:50:04

接口说明

使用本接口需要先使用【注册抓拍设备】接口注册设备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 异常信息

results matching ""

    No results matching ""