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

alibaba.security.deepvision.proxy.replay.algoreplay.callback (算法重跑回调)

算法重跑回调

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param AlgoReplayCallbackParam 必须 入参
  • └ tenant_code
  • String
  • 可选
  • tenantCode
  • 租户
  • └ field_id
  • String
  • 可选
  • fieldId
  • 门店
  • └ camera_id
  • String
  • 可选
  • cameraId
  • 摄像头id
  • └ replay_id
  • String
  • 可选
  • replayId
  • 重跑id
  • └ replay_type
  • String
  • 可选
  • replayType
  • 重跑类型
  • └ acpt_id
  • String
  • 可选
  • acptId
  • 验收id
  • └ action_state
  • String
  • 可选
  • acptType
  • 验收类型
  • └ timestamp
  • Number
  • 可选
  • 1111
  • 验收时间
  • └ video_url
  • String
  • 可选
  • videoUrl
  • 视频地址
  • └ platform
  • String
  • 可选
  • platform
  • 平台
  • └ product_code
  • String
  • 可选
  • productCode
  • 产品code

响应参数

名称 类型 示例值 描述
resp_code Number 1 code
resp_success Boolean ture success
resp_request_id Boolean resp_request_id 请求id
message String message message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxyReplayAlgoreplayCallbackRequest req = new AlibabaSecurityDeepvisionProxyReplayAlgoreplayCallbackRequest();
AlibabaSecurityDeepvisionProxyReplayAlgoreplayCallbackRequest.AlgoReplayCallbackParam obj1 = new AlibabaSecurityDeepvisionProxyReplayAlgoreplayCallbackRequest.AlgoReplayCallbackParam();
obj1.setTenantCode("tenantCode");
obj1.setFieldId("fieldId");
obj1.setCameraId("cameraId");
obj1.setReplayId("replayId");
obj1.setReplayType("replayType");
obj1.setAcptId("acptId");
obj1.setActionState("acptType");
obj1.setTimestamp(1111L);
obj1.setVideoUrl("videoUrl");
obj1.setPlatform("platform");
obj1.setProductCode("productCode");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxyReplayAlgoreplayCallbackResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_replay_algoreplay_callback_response>
    <resp_code>1</resp_code>
    <resp_success>ture</resp_success>
    <resp_request_id>resp_request_id</resp_request_id>
    <message>message</message>
</alibaba_security_deepvision_proxy_replay_algoreplay_callback_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

返回
顶部