Skip to content

新建页面统计

拥有此API的权限集
页面统计管理-增删改

请求方式及url

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://api.xiaoe-tech.com/xe.page_stat.save/1.0.0
  • 频率限制: 10秒500次

接口调试

请求参数
响应结果
暂无响应数据

请求参数

参数名必选类型说明
access_tokenstring专属token
channel_namestring页面统计名称
places_idint投放渠道id
channel_page_typeint页面类型,默认传知识商品:0,实物商品:17
resource_typeint资源类型
resource_idstring资源id
resource_namestring资源名称
resource_urlstring资源Url
img_urlstring资源图片Url
channel_idstring页面统计id

请求示例

{
    "access_token":"xe_xxxx",
    "channel_name": "xxx",
    "places_id": 0,
    "channel_page_type": 0,
    "resource_type": 6,
    "resource_id": "xxx",
    "resource_name": "老化 / 色斑专题",
    "resource_url": "https://xxx",
}

返回参数

参数名类型说明
codeint返回码
msgint返回信息
dataobject返回数据
data.share_urlstring推广短链接
data.channel_idstring页面统计id

返回示例

{
    "code": 0,
    "msg": "成功",
    "data": {
        "share_url": "https://xxx",
        "channel_id": xxx
    }
}