消息数据同步说明
接口一:导入消息
请求URL
https://hapi.moyincloud.com/anon/help_third_message/add
请求方式
POST
参数
application/json
参数名 | 必选 | 类型 | 说明 |
websiteId | 是 | string | 站点id |
messageList | 是 | string | 消息列表 |
userId | 是 | string | 用户id |
message | 是 | string | 消息 |
eventTime | 是 | string | 发生时间yyyy-MM-dd HH:mm:dd |
linkUrl | 是 | string | 连接地址 |
token | 是 | string | 获取到的token,服务提供方提供 |
举例:建议每次不超过500条
{
"websiteId": 0,
"messageList": [
{
"userId": "bill.xu",
"message": "测试消息",
"eventTime": "2024-06-17 14:42:32",
"linkUrl": "https://moyincloud.com"
}
],
"token": "token_a6bd62adee76"
}
1
2
3
4
5
6
7
8
9
10
11
12
JSON2
3
4
5
6
7
8
9
10
11
12
JSON
返回示例
{
"code": 0,
"data": null,
"desc": "成功",
"reqId": "725cae0f-3ed2-4ba0-a9ce-9ca83a0f81e4"
}
1
2
3
4
5
6
JSON2
3
4
5
6
返回参数说明
参数名 | 类型 | 说明 |
code | int | 0表示获取成功,其他失败 |
reqId | string | 用于排查问题,向接口提供方提供 |
最近更新 2024/06/17
有帮助
没帮助