1. 智能冰箱通用网关接入Demo
DTS模拟输入测试
  • 智能冰箱通用网关接入Demo
    • 自定义设备上报
      POST
    • 自定义数据接入-属性
      POST
    • 自定义数据接入-事件
      POST
    • 自定义Topic上报
      POST
    • 自定义Topic下行
      POST
    • 服务调用下行
      POST
  • 智能插座通用网关接入Demo
    • 标准设备上报
      POST
    • 标准数据接入-属性
      POST
    • 标准数据接入-事件
      POST
  1. 智能冰箱通用网关接入Demo

服务调用下行

POST
http://192.168.100.38:48083/bv-microservice-digitaltwin-center/openApi/service/call

请求参数

Authorization
在 header 添加参数
bv-api-key
示例:
bv-api-key: ********************
Header 参数

Body 参数application/json

示例
{
  "requestId": "autoqa-observe-attr-rerun-260526A",
  "productId": "USmAHjfh0SCHxAbI",
  "deviceId": "autoqa_fridge_bvgw_260526123140",
  "identifier": "autoqa_observe_attr_260526144107",
  "inputParams": {
    "marker": "attr-rerun-260526A"
  }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'http://192.168.100.38:48083/bv-microservice-digitaltwin-center/openApi/service/call' \
--header 'token: bf966aed7cf64cb78d61ecda1c2aa519' \
--header 'bv-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
  "requestId": "autoqa-observe-attr-rerun-260526A",
  "productId": "USmAHjfh0SCHxAbI",
  "deviceId": "autoqa_fridge_bvgw_260526123140",
  "identifier": "autoqa_observe_attr_260526144107",
  "inputParams": {
    "marker": "attr-rerun-260526A"
  }
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{"code":0,"message":"success","info":null}
修改于 2026-05-26 08:02:09
上一页
自定义Topic下行
下一页
标准设备上报
Built with