POST Message/setIsReadMessageByType
根据类型设置文本消息为已读(仅文被类型的消息)
Request Information
URI Parameters
None.
Body Parameters
消息参数
MessageInfoPars| Name | Description | Type | Additional information |
|---|---|---|---|
| msg_content_type |
消息类型(1订单相关,2评论/回复,3系统消息,4账户相关,5牙医服务) |
integer |
None. |
| dt |
上次获取数据时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "200",
"data": {
"msg_content_type": 1,
"dt": "2025-12-10T11:19:18.9199318+08:00"
},
"msg": null
}
application/xml, text/xml
Sample:
<MessageInfoPars xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HL.Basis.Web.Models.Parameter"> <dt>2025-12-10T11:19:18.9199318+08:00</dt> <msg_content_type>1</msg_content_type> </MessageInfoPars>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
根据类型设置文本消息为已读(仅文被类型的消息)
booleanResponse Formats
application/json, text/json
Sample:
{
"code": "200",
"data": true,
"msg": null
}
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>