- 说明
- 获取token
- 获取token
- 设备树
- 设备类
- ai云端算法配置
- 云端系统算法集
- 算法数据统计
- 人员
- 部门
- 告警回调
- 录像管理
- 端侧算法
- 智慧云店
添加国标Nvr
POST
/openApi/device/iotDevice/addNationNvr
请求参数
Body 参数application/json
nodeId
string | null
节点id
linkType
integer | null
必需
generateIdNum
integer | null
生成id个数
示例
{
"nodeId": "string",
"linkType": 0,
"generateIdNum": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://bcloud.jftechws.com/openApi/device/iotDevice/addNationNvr' \
--header 'Content-Type: application/json' \
--data-raw '{
"nodeId": "string",
"linkType": 0,
"generateIdNum": 0
}'
返回响应
🟢200成功
application/json
Body
success
boolean | null
可选
msg
string | null
可选
code
string | null
可选
model
object (OpenApiDeviceAddNationNvrResp)
可选
Id
string | null
设备Id
deviceName
string | null
设备名称
status
integer | null
可选
accessStatus
integer | null
可选
deviceSN
string | null
设备序列号
longitude
number | null
经度
latitude
number | null
维度
sipServer
string | null
sip服务器ip
sipDomain
string | null
sip域
accessId
string | null
接入id
accessIdPwd
string | null
接入id密 码
sipServerNum
string | null
sip服务器编号
serverPortNum
integer | null
服务器端口
attributes
string | null
可选
示例
{
"success": false,
"msg": "",
"code": "",
"model": {
"Id": "",
"deviceName": "",
"status": 0,
"accessStatus": 0,
"deviceSN": "",
"longitude": 0,
"latitude": 0,
"sipServer": "",
"sipDomain": "",
"accessId": "",
"accessIdPwd": "",
"sipServerNum": "",
"serverPortNum": 0
},
"attributes": ""
}