文档中心 > API类目 > 天眼工作室API

alibaba.security.deepvision.proxy.lab.config.get (获取实验室配置信息)

获取实验室配置信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param LabConfigParam 可选 参数
  • └ area_id
  • String
  • 可选
  • 区域id
  • 区域id
  • └ request_id
  • String
  • 可选
  • 请求id
  • 请求id
  • └ poi_id
  • String
  • 可选
  • 门店id
  • 门店id
  • └ tenant_code
  • String
  • 必须
  • 租户
  • 租户
  • └ config_type
  • String
  • 必须
  • 配置类型
  • 配置类型
  • └ token
  • String
  • 可选
  • token
  • token

响应参数

名称 类型 示例值 描述
result Datas [] list
  • └ camera_id
  • String
  • 摄像头id
  • 摄像头id
  • └ ability_type
  • String
  • 能力类型
  • 能力类型
  • └ name
  • String
  • 名称
  • 名称
  • └ stream_camera_id
  • String
  • 流摄像头id
  • 流摄像头id
resp_code Number 1 结果
resp_success Boolean true 成功
resp_request_id String 请求id 请求id
message String 信息 信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxyLabConfigGetRequest req = new AlibabaSecurityDeepvisionProxyLabConfigGetRequest();
AlibabaSecurityDeepvisionProxyLabConfigGetRequest.LabConfigParam obj1 = new AlibabaSecurityDeepvisionProxyLabConfigGetRequest.LabConfigParam();
obj1.setAreaId("区域id");
obj1.setRequestId("请求id");
obj1.setPoiId("门店id");
obj1.setTenantCode("租户");
obj1.setConfigType("配置类型");
obj1.setToken("token");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxyLabConfigGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_lab_config_get_response>
    <result>
        <datas>
            <camera_id>摄像头id</camera_id>
            <ability_type>能力类型</ability_type>
            <name>名称</name>
            <stream_camera_id>流摄像头id</stream_camera_id>
        </datas>
    </result>
    <resp_code>1</resp_code>
    <resp_success>true</resp_success>
    <resp_request_id>请求id</resp_request_id>
    <message>信息</message>
</alibaba_security_deepvision_proxy_lab_config_get_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

返回
顶部