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

alibaba.rex.skyeye.insight.input.get (天眼算法入参查询接口)

天眼算法入参查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 QueryInputRequest 必须 入参
  • └ shop_code
  • String
  • 必须
  • CSJ_WDKSW_XJTEST052001
  • 门店编码
  • └ input_code
  • String
  • 必须
  • catch_mouse
  • 输入配置编码
  • └ input_version
  • String
  • 必须
  • v1
  • 输入配置版本
  • └ access_key
  • String
  • 必须
  • 123
  • key
  • └ device_code
  • String
  • 必须
  • sa-CSJ_WDKSW_XJTEST052001
  • 设备编码
  • └ access_sign
  • String
  • 必须
  • abc
  • sign
  • └ timestamp
  • Number
  • 必须
  • 12345
  • 时间戳

响应参数

名称 类型 示例值 描述
data InsightInputResponse "" 出参
  • └ shop_code
  • String
  • CSJ_WDKSW_XJTEST052001
  • 门店编码
  • └ input_code
  • String
  • catch_mouse
  • 输入配置编码
  • └ input_version
  • String
  • v1
  • 输入配置版本
  • └ insight_input_params
  • String
  • {"ipcGroup":[{"ipcId":"CSJ_WDKSW_XJTEST_28AACHF49322378","rtsp":"rtsp://admin:hmxs12345@192.168.12.138:554/ch1/01/av_stream"},{"ipcId":"CSJ_WDKSW_XJTEST_28AACHF49322395","rtsp":"rtsp://admin:hmxs12345@192.168.12.137:554/ch1/01/av_stream"}]}
  • 输入配置参数
  • └ tenant_id
  • Number
  • 10000001
  • 租户编码
  • └ shop_name
  • String
  • 险峻测试商家仓052101
  • 门店名称
  • └ device_code
  • String
  • NVR_T052001_192.168.12.130_001
  • 设备名称
msg_info String "" 错误信息
msg_code String "" 错误编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaRexSkyeyeInsightInputGetRequest req = new AlibabaRexSkyeyeInsightInputGetRequest();
AlibabaRexSkyeyeInsightInputGetRequest.QueryInputRequest obj1 = new AlibabaRexSkyeyeInsightInputGetRequest.QueryInputRequest();
obj1.setShopCode("CSJ_WDKSW_XJTEST052001");
obj1.setInputCode("catch_mouse");
obj1.setInputVersion("v1");
obj1.setAccessKey("123");
obj1.setDeviceCode("sa-CSJ_WDKSW_XJTEST052001");
obj1.setAccessSign("abc");
obj1.setTimestamp(12345L);
req.setParam0(obj1);
AlibabaRexSkyeyeInsightInputGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_rex_skyeye_insight_input_get_response>
    <data>
        <shop_code>CSJ_WDKSW_XJTEST052001</shop_code>
        <input_code>catch_mouse</input_code>
        <input_version>v1</input_version>
        <insight_input_params>{&quot;ipcGroup&quot;:[{&quot;ipcId&quot;:&quot;CSJ_WDKSW_XJTEST_28AACHF49322378&quot;,&quot;rtsp&quot;:&quot;rtsp://admin:hmxs12345@192.168.12.138:554/ch1/01/av_stream&quot;},{&quot;ipcId&quot;:&quot;CSJ_WDKSW_XJTEST_28AACHF49322395&quot;,&quot;rtsp&quot;:&quot;rtsp://admin:hmxs12345@192.168.12.137:554/ch1/01/av_stream&quot;}]}</insight_input_params>
        <tenant_id>10000001</tenant_id>
        <shop_name>险峻测试商家仓052101</shop_name>
        <device_code>NVR_T052001_192.168.12.130_001</device_code>
    </data>
    <msg_info>&quot;&quot;</msg_info>
    <msg_code>&quot;&quot;</msg_code>
</alibaba_rex_skyeye_insight_input_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

返回
顶部