作者:管理员 历史版本:1 最后编辑:龚清 更新时间:2024-11-20 15:41
查询接收人已读
简述:
- 查询接收人已读
请求URL:
- http://ip:port/ibps/platform/v3/msg/messageRead/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
messageReadId | String | 是 | 接收人已读id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/msg/messageRead/get?messageReadId=654680789308407808
返回示例:
{
"state": 200,
"request": null,
"message": "获取接收人已读成功",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "654680789308407808",
"msgId": "654680639395594240",
"receiverId": "654668594931564544",
"receiver": "Eddy",
"receiverTime": 1576129664000
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< MessageReadPo > | 接收人已读实体对象信息列表 |
查询接收人已读列表
简述:
- 查询接收人已读列表
请求URL:
- http://ip:port/ibps/platform/v3/msg/messageRead/query
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "查询接收人已读列表数据成功!",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656799205930565632",
"msgId": "656799053547307008",
"receiverId": "655074898657411072",
"receiver": "chao3",
"receiverTime": 1576634733000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656798396975153152",
"msgId": "656797668265164800",
"receiverId": "655077249782906880",
"receiver": "chao5",
"receiverTime": 1576634541000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656798287201828864",
"msgId": "656796800463667200",
"receiverId": "655077249782906880",
"receiver": "chao5",
"receiverTime": 1576634514000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656224762720157696",
"msgId": "655064140196347904",
"receiverId": "654620507647246336",
"receiver": "产品1",
"receiverTime": 1576497775000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656212435010584576",
"msgId": "656075294498619392",
"receiverId": "1",
"receiver": "管理员",
"receiverTime": 1576494836000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656155124099448832",
"msgId": "656154374199836672",
"receiverId": "655077249782906880",
"receiver": "chao5",
"receiverTime": 1576481172000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656154742556196864",
"msgId": "656154374199836672",
"receiverId": "655075052584173568",
"receiver": "chao4",
"receiverTime": 1576481081000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656153456838443008",
"msgId": "656152978968805376",
"receiverId": "1",
"receiver": "管理员",
"receiverTime": 1576480775000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656144263209287680",
"msgId": "655442340277649408",
"receiverId": "1",
"receiver": "管理员",
"receiverTime": 1576478583000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656141055132958720",
"msgId": "656088956034613248",
"receiverId": "655074898657411072",
"receiver": "chao3",
"receiverTime": 1576477818000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656140174694023168",
"msgId": "656140045467516928",
"receiverId": "654621442352087040",
"receiver": "姗姗",
"receiverTime": 1576477608000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656086415695675392",
"msgId": "656086234598211584",
"receiverId": "1",
"receiver": "管理员",
"receiverTime": 1576464791000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656081926406275072",
"msgId": "656081679688925184",
"receiverId": "655074391100489728",
"receiver": "chao1",
"receiverTime": 1576463721000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656076705676394496",
"msgId": "656076551653163008",
"receiverId": "655074898657411072",
"receiver": "chao3",
"receiverTime": 1576462476000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656075457392803840",
"msgId": "656075294498619392",
"receiverId": "655077249782906880",
"receiver": "chao5",
"receiverTime": 1576462178000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "656072188390014976",
"msgId": "655442340277649408",
"receiverId": "655077249782906880",
"receiver": "chao5",
"receiverTime": 1576461399000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "655109959326892032",
"msgId": "655088078364344320",
"receiverId": "655074391100489728",
"receiver": "chao1",
"receiverTime": 1576231986000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "655099375189491712",
"msgId": "655093122069430272",
"receiverId": "655050117740494848",
"receiver": "组2",
"receiverTime": 1576229462000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "655099109740380160",
"msgId": "655093515440619520",
"receiverId": "655050117740494848",
"receiver": "组2",
"receiverTime": 1576229399000
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "655098869004107776",
"msgId": "655097411215032320",
"receiverId": "655050117740494848",
"receiver": "组2",
"receiverTime": 1576229342000
}
],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 28,
"totalPages": 2
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< MessageReadPo > | 接收人已读实体对象信息列表 |
删除接收人已读
简述:
- 删除接收人已读
请求URL:
- http://ip:port/ibps/platform/v3/msg/messageRead/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | messageReadIds | 是 | 接收人已读id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/msg/messageRead/remove?messageReadIds=655065892450729984
返回示例:
{
"state": 200,
"request": null,
"message": "删除接收人已读成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存接收人已读
简述:
- 保存接收人已读
请求URL:
- http://ip:port/ibps/platform/v3/msg/messageRead/save
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
msgId | string | 是 | 消息ID | ||
id | string | 是 | 主键 | ||
receiverId | string | 是 | 消息接收人ID | ||
receiver | string | 是 | 消息接收人 | ||
receiverTime | string | 是 | 接收时间 |
请求参数示例:
{
"id": "656809385799974912",
"msgId": "656809081176064000",
"receiverId": "654621442352087040",
"receiver": "姗姗",
"receiverTime": 1576637161000
}
返回示例:
{
"state": 200,
"request": null,
"message": "更新接收人已读成功!",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
备注
- [1] : APIRequest为动态查询请求对象,详情请移步全局请求格式