文档中心 > API类目 > 五道口API

taobao.wdk.iot.skyeye.vc.getconfig (查询监控VC配置数据)

查询指定盒马门店下,监控VC的配置信息。

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
warehouse_code String 必须 33571004 店仓编码

响应参数

名称 类型 示例值 描述
result Result result 接口返回model
  • └ total
  • Number
  • 1
  • 数据条数
  • data
  • SkyeyeVcConfigDto
  • config
  • VC配置
  • devices
  • Device
  • device
  • 设备信息
  • nvrs
  • NVR []
  • nvrs
  • 设备信息中的NVR
  • └ port
  • Number
  • 80
  • 端口
  • └ vendor
  • String
  • vendor
  • 厂商名
  • └ nickname
  • String
  • nickname
  • 设备简称
  • └ ipaddr
  • String
  • 1.1.1.1
  • ip地址
  • └ pwd
  • String
  • 111
  • 密码
  • └ user
  • String
  • user
  • 用户名
  • warehouse
  • Warehouse
  • warehouse
  • 门店信息
  • └ code
  • String
  • code
  • 门店编码
  • └ name
  • String
  • name
  • 门店名称
  • └ version
  • Number
  • 1
  • 版本号
  • └ is_success
  • Boolean
  • false
  • 是否成功
  • └ errcode
  • Number
  • 0
  • 错误码
  • └ errmsg
  • String
  • success
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkIotSkyeyeVcGetconfigRequest req = new WdkIotSkyeyeVcGetconfigRequest();
req.setWarehouseCode("33571004");
WdkIotSkyeyeVcGetconfigResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_iot_skyeye_vc_getconfig_response>
    <result>
        <total>1</total>
        <data>
            <devices>
                <nvrs>
                    <n_v_r>
                        <port>80</port>
                        <vendor>vendor</vendor>
                        <nickname>nickname</nickname>
                        <ipaddr>1.1.1.1</ipaddr>
                        <pwd>111</pwd>
                        <user>user</user>
                    </n_v_r>
                </nvrs>
            </devices>
            <warehouse>
                <code>code</code>
                <name>name</name>
            </warehouse>
            <version>1</version>
        </data>
        <is_success>false</is_success>
        <errcode>0</errcode>
        <errmsg>success</errmsg>
    </result>
</wdk_iot_skyeye_vc_getconfig_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部