帮助中心
消息数据同步说明

接口一:导入消息

请求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
JSON

JSON

返回示例
{
        "code": 0,
        "data": null,
        "desc": "成功",
        "reqId": "725cae0f-3ed2-4ba0-a9ce-9ca83a0f81e4"
}
1
2
3
4
5
6
JSON
返回参数说明

参数名

类型

说明

code

int

0表示获取成功,其他失败

reqId

string

用于排查问题,向接口提供方提供

最近更新 2024/06/17
文章内容

接口一:导入消息

请求URL

请求方式

参数

返回示例

返回参数说明