1. 上传统计数据

接口名称 上传统计数据
请求地址 http://qy-ci.fdccloud.com/api/wzs/upload-events?access_token=@access_token
请求方式 POST(HTTPS)

请求包结构

{
    "__language__": "zh-CN",
    "events": [
        {
            "device_id": "a41a82e5700657419c6825bd95fdc424",
            "event_id": "20000_01_01_20006",
            "event_type": 0,
            "event_value": {},
            "start_time": 1608019087712,
            "tenant_id": "my56a9c966df069",
            "user_id": "247604",
            "wzs_user_id": "wzs5f5985f185604096950085"
        }
    ],
    "platform": 2,
    "tenant_id": "my56a9c966df069",
    "version_name": "4.0.6",
    "wzs_user_id": "wzs5f5985f185604096950085"
}
参数 类型 描述
__language__ string 当前语言
version_name string 云助手APP版本号
platform number 平台1-ios;2-Android
tenant_id string 租户id
wzs_user_id string 云助手用户ID
device_id string 设备id
event_id string 事件编号
event_type int 0-事件数量;1-事件值
event_value Object 根据对应事件,传入对应的json字符串

返回结果

{
    "data": {
        "code": 1,
        "message": "ok"
    },
    "success": 1
}
参数 类型 描述
code number 当前接口逻辑结果1-成功;非1-错误
message string 错误提示信息
success number 服务端框架层结果 1:成功 0:失败,对应的data为错误信息字符串

results matching ""

    No results matching ""