PUT HYAPI/AssistantService/Notice/{id}?notice_content={notice_content}
修改公告
服务请求信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
公告ID |
string |
Required |
| notice_content |
公告内容 |
string |
Required |
Body 参数
None.
服务返回信息
返回数据说明
如果修改不成功则在Message中返回错误信息
ResponseDataModelOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| State |
返回消息状态 |
integer |
None. |
| Message |
操作信息 |
string |
None. |
| Data |
返回数据 |
string |
None. |
返回数据范例
application/json, text/json
Sample:
{
"State": 1,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ResponseDataModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.API.Model"> <Data>sample string 3</Data> <Message>sample string 2</Message> <State>1</State> </ResponseDataModelOfstring>