倍特威视在线接口文档
  1. 设备管理
倍特威视在线接口文档
  • JWT Token 使用说明
  • 视频分析服务
    • 人工复查服务
      • 人工复查列表
    • 设备管理
      • 获取所设备列表
        GET
    • 告警接收服务
      • 告警推送接收示例
    • 视频服务管理
      • 获取视频流
    • 登陆管理
      • JWT 登陆认证接口
    • 告警服务管理
      • 获取操告警数据列表
      • 获取告警类型
    • 算法任务管理
      • 创建智能分析任务
      • 停止智能分析任务
      • 删除智能分析任务
      • 启动智能分析任务
      • 批量查询智能分析任务
      • 智能图像检索
      • 获取前10条告警数据
    • 算法设置服务
      • 获取设备树
  1. 设备管理

获取所设备列表

GET
/api/Device/Deviceinfo
Device

请求参数

Query 参数
DeviceName
string 
设备名称
可选
Limit
integer 
每页显示行数
必需
示例值:
20
Offset
integer 
必需
当前数据偏移量 Offset / Limit 的页码 第一页换算方法为 Offset / Limit + 1
示例值:
1
Sort
string 
排序字段
必需
示例值:
DeviceID
Order
string 
必需
排序类型 asc或desc
示例值:
desc
Search
string 
搜索内容
可选
Header 参数
Authorization
string 
必需
示例值:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6ImFkbWluIiwibmJmIjoxNzIzMDgyNzA3LCJleHAiOjE3MjMwODk5MDcsImlhdCI6MTcyMzA4MjcwNywiaXNzIjoiQkEiLCJhdWQiOiJhcGkifQ.uf_zGbs0fahwNbsYWGN5-5koElui8paGLRdJB7vfX-8

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/Device/Deviceinfo?DeviceName&Limit=20&Offset=1&Sort=DeviceID&Order=desc&Search' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1bmlxdWVfbmFtZSI6ImFkbWluIiwibmJmIjoxNzIzMDgyNzA3LCJleHAiOjE3MjMwODk5MDcsImlhdCI6MTcyMzA4MjcwNywiaXNzIjoiQkEiLCJhdWQiOiJhcGkifQ.uf_zGbs0fahwNbsYWGN5-5koElui8paGLRdJB7vfX-8'

返回响应

🟢200Success
text/plain
Body
total
integer <int64>
可选
rows
array[object (VrpDevice) {33}]  | null 
可选
DeviceID
integer <int32>
可选
获得/设置 设备主键DeviceID
ForeignDeviceID
string  | null 
可选
DeviceName
string  | null 
设备名称
可选
ParentGroupID
integer <int32> | null 
可选
DeviceIP
string  | null 
设备IP
可选
DevicePort
integer <int32> | null 
设备端口
可选
DeviceUsername
string  | null 
可选
DevicePassword
string  | null 
可选
DeviceType
string  | null 
可选
DeviceVendor
string  | null 
可选
DeviceCapability
string  | null 
可选
DeviceResolutionWidth
integer <int32> | null 
可选
DeviceResolutionHeight
integer <int32> | null 
可选
DeviceStatus
string  | null 
设备状态
可选
Longitude
string  | null 
经度
可选
Latitude
string  | null 
纬度
可选
Altitude
string  | null 
可选
Deleted
integer <int32> | null 
可选
ReservedString
string  | null 
可选
Company
string  | null 
部门名称
可选
DeviceNickname
string  | null 
设备别名
可选
ReservedInteger
integer <int32> | null 
可选
AnalysisChannel
string  | null 
分析通道
可选
Tailor
integer <int32> | null 
是否裁剪
可选
RtspString
string  | null 
rtsp字符串
可选
AnalysisServer
string  | null 
所在的分析服务器
可选
Podunk
string  | null 
乡镇
可选
PodunkAccount
string  | null 
乡镇账号
可选
PodunkPrincipal
string  | null 
乡镇负责人
可选
PodunkPhone
string  | null 
可选
乡镇负责人的联系方式
VillageName
string  | null 
村名
可选
VillagePrincipal
string  | null 
村级负责人
可选
VillagePhone
string  | null 
村级负责人联系方式
可选
示例
{
    "total": 1,
    "rows": [
        {
            "DeviceID": 186, //设备ID
            "ForeignDeviceID": "5720fb15-da0c-410a-866a-5c3af28da204",//若为海康isc设备,则此处值为 相机编码;监控点编码 例如 2323sdfsdsfdf;ddsd323esdsdc
            "DeviceName": "test1", //相机名称
            "ParentGroupID": 0,
            "DeviceIP": "192.168.3.11", //相机IP
            "DevicePort": 8000, //端口
            "DeviceUsername": "admin",
            "DevicePassword": "xxx1213",
            "DeviceType": null,
            "DeviceVendor": "Hik", //设备厂商
            "DeviceCapability": "1920X1080",
            "DeviceResolutionWidth": null,
            "DeviceResolutionHeight": null,
            "DeviceStatus": "true",
            "Longitude": null,//经度
            "Latitude": null, //纬度
            "Altitude": null, 
            "Deleted": 0,
            "ReservedString": "192.168.3.11/8000/admin/xxx1213/通道1/0/0/0/False/False/1",
            "Company": null,
            "DeviceNickname": null, //设备别名
            "ReservedInteger": 1,
            "AnalysisChannel": "90-2", //设备号-通道号
            "Tailor": null,
            "RtspString": "rtsp://admin:xxx1213@192.168.3.11:554/Streaming/Channels/101", //rtsp地址
            "AnalysisServer": null,
            "Podunk": null,
            "PodunkAccount": null,
            "PodunkPrincipal": null,
            "PodunkPhone": null,
            "VillageName": null,
            "VillagePrincipal": null,
            "VillagePhone": null
        }
    ]
}
修改于 2024-10-16 09:56:49
上一页
人工复查列表
下一页
告警推送接收示例
Built with