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

alibaba.security.deepvision.proxy.smartmonitor.fragment.getbytask (根据任务查询track列表)

根据任务查询track列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param TrackQueryParam 可选 参数
  • └ risk_task_id
  • String
  • 必须
  • 1
  • 任务ID
  • └ request_id
  • String
  • 可选
  • 1
  • 请求唯一ID
  • └ api_sign
  • String
  • 可选
  • 1
  • 参数签名
  • └ tenant_code
  • String
  • 必须
  • 1
  • 租户
  • └ poi_id
  • String
  • 必须
  • 1
  • 门店
  • └ token
  • String
  • 可选
  • 1
  • Token

响应参数

名称 类型 示例值 描述
result Datas [] track列表
  • └ track_id
  • String
  • 1
  • trackId
  • └ sensor_id
  • String
  • 1
  • 摄像头
  • └ face_oss
  • String
  • 1
  • face在oss的地址
  • └ face_image
  • String
  • 1
  • face临时访问地址
  • └ face_time
  • Number
  • 1
  • face快照时间
  • └ body_oss
  • String
  • 1
  • body在oss的地址
  • └ body_image
  • String
  • 1
  • body临时访问地址
  • └ body_time
  • Number
  • 1
  • body快照时间
  • └ start_time
  • Number
  • 1
  • 开始时间
  • └ end_time
  • Number
  • 1
  • 结束时间
  • └ fragment_id
  • String
  • 1
  • fragmentId
  • actions
  • Datas []
  • 行为列表
  • └ action_type
  • String
  • 1
  • 行为类型
  • └ extra_act
  • String
  • 1
  • 扩展动作
  • └ face_quality
  • String
  • 1
  • 人脸质量分
  • └ body_integrity
  • String
  • 1
  • 人体质量分
  • └ session_id
  • String
  • 1
  • sessionId
  • └ order_ids
  • String []
  • 订单号列表
resp_request_id String 1 请求唯一ID
resp_success Boolean true 是否成功
resp_code Number 1 返回码
message String 成功 返回描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxySmartmonitorFragmentGetbytaskRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorFragmentGetbytaskRequest();
AlibabaSecurityDeepvisionProxySmartmonitorFragmentGetbytaskRequest.TrackQueryParam obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorFragmentGetbytaskRequest.TrackQueryParam();
obj1.setRiskTaskId("1");
obj1.setRequestId("1");
obj1.setApiSign("1");
obj1.setTenantCode("1");
obj1.setPoiId("1");
obj1.setToken("1");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxySmartmonitorFragmentGetbytaskResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_smartmonitor_fragment_getbytask_response>
    <result>
        <datas>
            <track_id>1</track_id>
            <sensor_id>1</sensor_id>
            <face_oss>1</face_oss>
            <face_image>1</face_image>
            <face_time>1</face_time>
            <body_oss>1</body_oss>
            <body_image>1</body_image>
            <body_time>1</body_time>
            <start_time>1</start_time>
            <end_time>1</end_time>
            <fragment_id>1</fragment_id>
            <actions>
                <datas>
                    <action_type>1</action_type>
                    <extra_act>1</extra_act>
                </datas>
            </actions>
            <face_quality>1</face_quality>
            <body_integrity>1</body_integrity>
            <session_id>1</session_id>
        </datas>
    </result>
    <resp_request_id>1</resp_request_id>
    <resp_success>true</resp_success>
    <resp_code>1</resp_code>
    <message>成功</message>
</alibaba_security_deepvision_proxy_smartmonitor_fragment_getbytask_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

返回
顶部