获取摄像头的ActionSample
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param | ActionSampleSearchConditionParam | 可选 | 参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 结果 | |
|
|||
resp_code | Number | 1 | 返回结果 |
resp_success | Boolean | true | 成功 |
resp_request_id | String | 请求id | 请求id |
message | String | 信息 | 信息 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaSecurityDeepvisionProxyActionsampleGetRequest req = new AlibabaSecurityDeepvisionProxyActionsampleGetRequest(); AlibabaSecurityDeepvisionProxyActionsampleGetRequest.ActionSampleSearchConditionParam obj1 = new AlibabaSecurityDeepvisionProxyActionsampleGetRequest.ActionSampleSearchConditionParam(); obj1.setStart(1L); obj1.setTenantCode( "yintai" ); obj1.setActionTypes( "动作" ); obj1.setSensorId( "摄像头id" ); obj1.setAreaId( "区域id" ); obj1.setTrackIds( "track" ); obj1.setRequestId( "请求id" ); obj1.setLimit(1L); obj1.setStartTime(1L); obj1.setEndTime(1L); obj1.setEndTimeDesc( true ); obj1.setFieldId( "门店id" ); req.setParam(obj1); AlibabaSecurityDeepvisionProxyActionsampleGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | < alibaba_security_deepvision_proxy_actionsample_get_response > < result > < total >2548</ total > < data > < datas > < video_clip_id >视频id</ video_clip_id > < gmt_modified >1590372396097</ gmt_modified > < extra_data >扩展信息</ extra_data > < sample_id >229627815140558081_40357</ sample_id > < track_id >229627815140558081</ track_id > < extra_act >扩展</ extra_act > < tenant_code >yintai</ tenant_code > < gmt_create >1590372396097</ gmt_create > < device_id >D52020772</ device_id > < sensor_id >cam-BJ04-1F-nanfutishangxing</ sensor_id > < action_type >crossline_enter</ action_type > < area_id >区域id</ area_id > < start_time >1590128788018</ start_time > < end_time >1590128788582</ end_time > < global_stream_id >流id</ global_stream_id > < snapshot >快照</ snapshot > < object_id >对象id</ object_id > < field_id >BJ04</ field_id > </ datas > </ data > </ result > < resp_code >1</ resp_code > < resp_success >true</ resp_success > < resp_request_id >请求id</ resp_request_id > < message >信息</ message > </ alibaba_security_deepvision_proxy_actionsample_get_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|