POST api/ClientApp/system/notice_read

[已完成] 阅读通知

Request Information

URI Parameters

None.

Body Parameters

NoticeReadRequest
NameDescriptionTypeAdditional information
notice_id

通知ID

integer

Required

clientType

客户端类型,默认值:website

string

None.

clientVersion

客户端版本,默认值:1.0.0

string

None.

Request Formats

application/json, text/json

Sample:
{
  "notice_id": 1,
  "clientType": "sample string 1",
  "clientVersion": "sample string 2"
}

Response Information

Resource Description

NoticeReadResponse
NameDescriptionTypeAdditional information
notice

Notice

None.

code

1 为成功,其他为失败

integer

None.

msg

请求描述

string

None.

Response Formats

application/json, text/json

Sample:
{
  "notice": {
    "id": 1,
    "title": "sample string 2",
    "content": "sample string 3",
    "display_time": "sample string 4",
    "read_count": 5,
    "isRead": 6
  },
  "code": 1,
  "msg": "sample string 2"
}