消息推送
eventKey | 消息体 | 字段描述 |
---|---|---|
industry.account.update | AccountMsg |
AccountMsg
注册回调接口
请求参数
字段说明
字段名 | 字段类型 | 字段描述 |
---|---|---|
CallbackUrl | string | 回调URL |
Name | string | 三方名称(全局唯一) |
Remark | string | 备注信息 |
Events | array | 注册订阅时间名称,即上面的eventKey的值 |
响应参数
平台数据订阅
最近更新时间:11/9/2023, 4:20:50 PM作者:andrewren(任豪)
eventKey | 消息体 | 字段描述 |
---|---|---|
industry.account.update | AccountMsg |
AccountMsg
{
"Key":"industry.account.update",
"Value":"{\"AccountId\": 4343422312}"
}
Method: POST
Cookie: access_token=xxx
URL:http://{domain}/asm/api/registerCallback
请求参数
{
"CallbackUrl": "http://127.0.0.1:8080/ping",
"Name": "sanfang4",
"Remark": "三方回调接口",
"Events": [
{
"Name": "industry.account.update"
},
{
"Name": "industry.instance.update"
},
{
"Name": "industry.instance.add"
}
]
}
字段说明
字段名 | 字段类型 | 字段描述 |
---|---|---|
CallbackUrl | string | 回调URL |
Name | string | 三方名称(全局唯一) |
Remark | string | 备注信息 |
Events | array | 注册订阅时间名称,即上面的eventKey的值 |
响应参数
{
"Code": 0,
"Msg": "success"
}