GET HYAPI/AssistantService/Notice/{id}

通过ID获取公告信息

服务请求信息

URI 参数

NameDescriptionTypeAdditional information
id

公告ID

string

Required

Body 参数

None.

服务返回信息

返回数据说明

符合条件的公告信息

ResponseDataModelOfNoticeModel
NameDescriptionTypeAdditional information
State

返回消息状态

integer

None.

Message

操作信息

string

None.

Data

返回数据

NoticeModel

None.

返回数据范例

application/json, text/json

Sample:
{
  "State": 1,
  "Message": "sample string 2",
  "Data": {
    "id": "sample string 1",
    "create_time": "2025-11-13T23:19:13.7556367+08:00",
    "edit_time": "2025-11-13T23:19:13.7556367+08:00",
    "title": "sample string 4",
    "notice_content": "sample string 5",
    "notice_type": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<ResponseDataModelOfNoticeModelR7xFMsvn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Service.API.Model">
  <Data>
    <notice_content>sample string 5</notice_content>
    <notice_type>sample string 6</notice_type>
    <title>sample string 4</title>
    <create_time>2025-11-13T23:19:13.7556367+08:00</create_time>
    <edit_time>2025-11-13T23:19:13.7556367+08:00</edit_time>
    <id>sample string 1</id>
  </Data>
  <Message>sample string 2</Message>
  <State>1</State>
</ResponseDataModelOfNoticeModelR7xFMsvn>