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

taobao.wdk.iot.video.query.ipc.base.group.by.area (查询组织机构下Ipc基础信息,并按区域分组)

查询组织机构下Ipc基础信息,并按区域分组

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
merchant_code String 必须 HM 商家编码
tenant_id String 必须 1000000 租户ID
request_app_key String 必须 SKYEYE 视频中心颁发的KEY
bu_code String 必须 1202 门店code

响应参数

名称 类型 示例值 描述
action_status Boolean true 返回是否成功
data IpcBaseDTO [] {} 返回数据对象
  • └ ipc_name
  • String
  • Agent测试-395
  • 返回摄像头名称
  • └ area_code
  • String
  • 9999
  • 返回code
  • └ state_type_code
  • Number
  • 0
  • 在线状态
  • └ area_name
  • String
  • 未分类区域
  • 摄像头归属区域Code
  • └ ip
  • String
  • 192.143.23.21
  • 摄像头ip
  • └ snapshot_url
  • String
  • https://iot-video-daily.oss-cn-shanghai.aliyuncs.com/snapshot/CSSJ_hz_CSJ_WDKSW_XJTEST052001/d6ae418b-f54c-4979-9bf7-c88d455b8dfd.jpg?x-oss-process=image/resize,w_360
  • 快照地址
  • └ tenant_id
  • String
  • 10000001
  • 租户ID
  • └ ipc_id
  • String
  • IPC_CSJ_WDKSW_XJ_192.168.12.137
  • 摄像头ID
  • organization
  • OrganizationDTO
  • {}
  • 组织机构对象
  • └ merchant_code
  • String
  • CSSJ
  • 商家编码
  • └ subsidiary_name
  • String
  • 杭州子公司
  • 子公司名称
  • └ enable
  • Number
  • 1
  • 是否启用
  • └ tenant_id
  • String
  • 10000001
  • 租户ID
  • └ bu_code
  • String
  • CSJ_WDKSW_XJTEST052001
  • 门店编码
  • └ bu_name
  • String
  • 险峻测试商家仓052101
  • 门店名称
  • └ subsidiary_code
  • String
  • hz
  • 子公司编码
  • └ merchant_name
  • String
  • 测试盒马商家
  • 商家名称
  • └ thumbnail_url
  • String
  • http://baidu.com
  • 缩略图
res_success Boolean true 是否成功
msg_info String ok 返回错误消息
msg_code String 1 返回错误编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkIotVideoQueryIpcBaseGroupByAreaRequest req = new WdkIotVideoQueryIpcBaseGroupByAreaRequest();
req.setMerchantCode("HM");
req.setTenantId("1000000");
req.setRequestAppKey("SKYEYE");
req.setBuCode("1202");
WdkIotVideoQueryIpcBaseGroupByAreaResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_iot_video_query_ipc_base_group_by_area_response>
    <action_status>true</action_status>
    <data>
        <ipc_base_d_t_o>
            <ipc_name>Agent测试-395</ipc_name>
            <area_code>9999</area_code>
            <state_type_code>0</state_type_code>
            <area_name>未分类区域</area_name>
            <ip>192.143.23.21</ip>
            <snapshot_url>https://iot-video-daily.oss-cn-shanghai.aliyuncs.com/snapshot/CSSJ_hz_CSJ_WDKSW_XJTEST052001/d6ae418b-f54c-4979-9bf7-c88d455b8dfd.jpg?x-oss-process=image/resize,w_360</snapshot_url>
            <tenant_id>10000001</tenant_id>
            <ipc_id>IPC_CSJ_WDKSW_XJ_192.168.12.137</ipc_id>
            <organization>
                <merchant_code>CSSJ</merchant_code>
                <subsidiary_name>杭州子公司</subsidiary_name>
                <enable>1</enable>
                <tenant_id>10000001</tenant_id>
                <bu_code>CSJ_WDKSW_XJTEST052001</bu_code>
                <bu_name>险峻测试商家仓052101</bu_name>
                <subsidiary_code>hz</subsidiary_code>
                <merchant_name>测试盒马商家</merchant_name>
            </organization>
            <thumbnail_url>http://baidu.com</thumbnail_url>
        </ipc_base_d_t_o>
    </data>
    <res_success>true</res_success>
    <msg_info>ok</msg_info>
    <msg_code>1</msg_code>
</wdk_iot_video_query_ipc_base_group_by_area_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

返回
顶部