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

alibaba.deepvision.heatmap.decathlon.topn.stay.query (迪卡侬TopN/停留热力)

迪卡侬TopN/停留热力

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param HeatMapRequest 可选 param
  • └ hierach_node_id
  • String
  • 可选
  • 1
  • 楼层
  • └ end_date
  • String
  • 可选
  • 20220512
  • 结束时间
  • └ tenant_code
  • String
  • 可选
  • tenantCode
  • 租户
  • └ type
  • Number
  • 可选
  • 1
  • topN/stay 枚举
  • └ biz_id
  • String
  • 可选
  • bizId
  • 业务id/出入口id
  • └ end_hour
  • Number
  • 可选
  • 1
  • 结束小时
  • └ field
  • String
  • 可选
  • 门店
  • 门店
  • └ start_hour
  • Number
  • 可选
  • 2
  • 开始小时
  • └ start_date
  • String
  • 可选
  • 20220512
  • 开始日期

响应参数

名称 类型 示例值 描述
result HeatMapFieldSessionDecathlonVO [] result
  • └ date
  • String
  • 20230402
  • 日期
  • └ area_id
  • String
  • 区域id
  • 区域id
  • area_coordinate
  • HeatMapCoordinateVO []
  • 区域坐标
  • └ map_x
  • String
  • 2.22222
  • x坐标
  • └ map_y
  • String
  • 3.3333
  • y坐标
  • └ time
  • Number
  • 1725679750
  • 时间戳
  • track_let
  • HeatMapCoordinateVO []
  • 脚点坐标List
  • └ map_x
  • String
  • 2.22222
  • x坐标
  • └ map_y
  • String
  • 2.22222
  • y坐标
  • └ time
  • Number
  • 1725679750
  • 时间戳
  • └ stay_len
  • String
  • 停留时长
  • 停留时长
  • └ hierarchy_node_id
  • String
  • 楼层
  • 楼层
  • └ session_id
  • String
  • session_id
  • session_id
  • └ segment
  • Number
  • segment
  • segment
  • └ entiy_id
  • String
  • 业务id
  • 业务id
is_success Boolean true 是否成功
req_id Boolean req_id req_id
response_err_code ErrorCode 返回异常信息
  • └ error_code
  • Number
  • 400
  • 错误码
  • └ error_msg
  • String
  • 错误信息
  • 错误信息
message String message message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDeepvisionHeatmapDecathlonTopnStayQueryRequest req = new AlibabaDeepvisionHeatmapDecathlonTopnStayQueryRequest();
AlibabaDeepvisionHeatmapDecathlonTopnStayQueryRequest.HeatMapRequest obj1 = new AlibabaDeepvisionHeatmapDecathlonTopnStayQueryRequest.HeatMapRequest();
obj1.setHierachNodeId("1");
obj1.setEndDate("20220512");
obj1.setTenantCode("tenantCode");
obj1.setType(1L);
obj1.setBizId("bizId");
obj1.setEndHour(1L);
obj1.setField("门店");
obj1.setStartHour(2L);
obj1.setStartDate("20220512");
req.setParam(obj1);
AlibabaDeepvisionHeatmapDecathlonTopnStayQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_deepvision_heatmap_decathlon_topn_stay_query_response>
    <result>
        <heat_map_field_session_decathlon_v_o>
            <date>20230402</date>
            <area_id>区域id</area_id>
            <area_coordinate>
                <heat_map_coordinate_v_o>
                    <map_x>2.22222</map_x>
                    <map_y>3.3333</map_y>
                    <time>1725679750</time>
                </heat_map_coordinate_v_o>
            </area_coordinate>
            <track_let>
                <heat_map_coordinate_v_o>
                    <map_x>2.22222</map_x>
                    <map_y>2.22222</map_y>
                    <time>1725679750</time>
                </heat_map_coordinate_v_o>
            </track_let>
            <stay_len>停留时长</stay_len>
            <hierarchy_node_id>楼层</hierarchy_node_id>
            <session_id>session_id</session_id>
            <segment>segment</segment>
            <entiy_id>业务id</entiy_id>
        </heat_map_field_session_decathlon_v_o>
    </result>
    <is_success>true</is_success>
    <req_id>req_id</req_id>
    <response_err_code>
        <error_code>400</error_code>
        <error_msg>错误信息</error_msg>
    </response_err_code>
    <message>message</message>
</alibaba_deepvision_heatmap_decathlon_topn_stay_query_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

返回
顶部