POST api/Notification/NoticeRead
用户全部[未讀消息]变更[已讀取]
Request Information
URI Parameters
None.
Body Parameters
NotificationParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
帳號 |
string |
Required |
| NotificationType |
通知類型 |
NotificationTypeEnums |
None. |
| Ticket |
身份票據 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"NotificationType": 0,
"Ticket": "sample string 2"
}
text/html
Sample:
{"userId":"sample string 1","NotificationType":0,"Ticket":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
用户全部[未讀消息]变更[已讀取]
NotificationOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
狀態 0:系統錯誤 1:設定成功 |
integer |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"ticketVerified": true
}
text/html
Sample:
{"status":1,"ticketVerified":true}