POST api/Notification/Update
Request Information
URI Parameters
None.
Body Parameters
NotificationInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Content | string |
None. |
|
| CreateTime | date |
None. |
|
| NotificationType | NotificationType |
None. |
|
| BeginTime | date |
None. |
|
| EndTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Content": "sample string 3",
"CreateTime": "2026-08-11 21:22:29",
"NotificationType": "maintenance",
"BeginTime": "2026-08-11 21:22:29",
"EndTime": "2026-08-11 21:22:29"
}
application/xml, text/xml
Sample:
<NotificationInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Document.Dto.Notification"> <BeginTime>2026-08-11T21:22:29.4912137+08:00</BeginTime> <Content>sample string 3</Content> <CreateTime>2026-08-11T21:22:29.4892578+08:00</CreateTime> <EndTime>2026-08-11T21:22:29.4912137+08:00</EndTime> <NotificationType>maintenance</NotificationType> <Title>sample string 2</Title> <Id>1</Id> </NotificationInfoDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": true
}
application/xml, text/xml
Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common"> <Data>true</Data> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <Status>true</Status> </ResponseResultOfboolean>