- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
通用打点
POST
https://test.myusmile.online/wx/buriedpoint/buriedRaw
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
userId
string
注册用户的id
guestId
string
未登录用户临时匿名用户id
deviceInfo
string
设备信息
osVer
string
设备操作系统版本号
clientType
integer
客户端类型
clientVer
string
客户端版本号
moduleId
integer
模块id
pageId
integer
页面id
elemId
integer
元素id
actionId
integer
动作id
startTime
integer
时间戳
endTime
integer
时间戳
timezone
string
时区
data
string
详细数据
reserved
string
预留字段
示例
[
{
"pageId": "0",
"userId": "1705484597597241346",
"elemId": "0",
"clientType": "1",
"clientVer": "3.1.0",
"moduleId": "50",
"deviceInfo": "{\"phone_model\":\"iPhone 11 Pro\"}",
"startTime": 1696930140220,
"osVer": "16.6.1"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.myusmile.online/wx/buriedpoint/buriedRaw' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"pageId": "0",
"userId": "1705484597597241346",
"elemId": "0",
"clientType": "1",
"clientVer": "3.1.0",
"moduleId": "50",
"deviceInfo": "{\"phone_model\":\"iPhone 11 Pro\"}",
"startTime": 1696930140220,
"osVer": "16.6.1"
}
]'
返回响应
🟢200成功
application/json
Body
flag
boolean
必需
code
integer
必需
message
string
必需
data
null
必需
示例
{
"flag": true,
"code": 0,
"message": "string",
"data": null
}