alibaba.decoration.content.querycontentburied (内容埋点数据查询)

内容埋点数据查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
owner_type Number 必须 2 业务归属 1:佳装 2:线下工作台
size Number 必须 10
  • 默认值:10
  • 每页数量
    param ContentBuriedReq 必须 搜索请求参数
    • └ visit_dates
    • String []
    • 可选
    • [1666949711000,1669628111041]
    • 浏览时间(传入时间戳,最多查询90天内的数据)
    • └ outer_store_id
    • String
    • 可选
    • 342524354235
    • 外部门店id
    • └ data_type
    • Number
    • 可选
    • 1
    • 明细数据类型 1-模型替换 2-商品锚点点击 3-锚点商品详情点击
    page Number 必须 1
  • 默认值:1
  • 分页的页数,从1开始

    响应参数

    名称 类型 示例值 描述
    result Result result
    • └ message_flag
    • Boolean
    • true
    • 成功
    • └ message_code
    • Number
    • 100399999
    • 返回错误码
    • └ message_info
    • String
    • 程序发生异常
    • 错误message
    • data
    • OpenPagingWrapResult
    • data
    • 返回结果
    • paging_data
    • OpenPagingData
    • 分页
    • └ page
    • Number
    • 1
    • 分页的页数,从1开始
    • └ size
    • Number
    • 10
    • 每页数量
    • └ total
    • Number
    • 100
    • 总数
    • list
    • ContentBuriedResp []
    • 埋点数据
    • └ outer_store_id
    • String
    • 342524354235
    • 外部门店id
    • └ store_name
    • String
    • 欢客
    • 门店名称
    • └ logkey_name
    • String
    • 渲染全景图播放器模型替换
    • 点击事件描述
    • └ visit_date
    • Number
    • 1666949711000
    • 浏览时间,时间戳
    • └ new_item_code
    • String
    • 12321
    • 新的外部商品code, dataType=1有值
    • └ new_sku_code
    • String
    • 12321
    • 老的外部商品sku, dataType=1有值
    • └ old_sku_code
    • String
    • 12321
    • 老的外部sku, dataType=1有值
    • └ old_item_code
    • String
    • 12321
    • 老的外部item, dataType=1有值
    • └ sku_code
    • String
    • 12321
    • 外部商品sku
    • └ item_code
    • String
    • 12321
    • 外部商品item
    • └ anchor_name
    • String
    • 普通
    • 替换/普通
    • └ data_type
    • Number
    • 1
    • 1-模型替换 2-商品锚点点击 3-锚点商品详情点击

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlibabaDecorationContentQuerycontentburiedRequest req = new AlibabaDecorationContentQuerycontentburiedRequest();
    req.setOwnerType(2L);
    req.setSize(10L);
    AlibabaDecorationContentQuerycontentburiedRequest.ContentBuriedReq obj1 = new AlibabaDecorationContentQuerycontentburiedRequest.ContentBuriedReq();
    obj1.setVisitDates("1666949711000,1669628111041");
    obj1.setOuterStoreId("342524354235");
    obj1.setDataType(1L);
    req.setParam(obj1);
    req.setPage(1L);
    AlibabaDecorationContentQuerycontentburiedResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alibaba_decoration_content_querycontentburied_response>
        <result>
            <message_flag>true</message_flag>
            <message_code>100399999</message_code>
            <message_info>程序发生异常</message_info>
            <data>
                <paging_data>
                    <page>1</page>
                    <size>10</size>
                    <total>100</total>
                </paging_data>
                <list>
                    <content_buried_resp>
                        <outer_store_id>342524354235</outer_store_id>
                        <store_name>欢客</store_name>
                        <logkey_name>渲染全景图播放器模型替换</logkey_name>
                        <visit_date>1666949711000</visit_date>
                        <new_item_code>12321</new_item_code>
                        <new_sku_code>12321</new_sku_code>
                        <old_sku_code>12321</old_sku_code>
                        <old_item_code>12321</old_item_code>
                        <sku_code>12321</sku_code>
                        <item_code>12321</item_code>
                        <anchor_name>普通</anchor_name>
                        <data_type>1</data_type>
                    </content_buried_resp>
                </list>
            </data>
        </result>
    </alibaba_decoration_content_querycontentburied_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

    返回
    顶部