GET api/notice/find?id={id}

加载一个公告信息(修改公告信息使用)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

课程编号

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

加载一个公告信息(修改公告信息使用)

JsonRtnDtoOfNotice
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Notice

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "PubId": "bbd02325-d05d-4af5-89db-e07ecc899a80",
    "Title": "sample string 2",
    "Content": "sample string 3",
    "State": 1,
    "Region": 4,
    "Id": "8af62184-8a9f-4d8c-a386-d2e9a0d8a000",
    "CreatedTime": "2024-09-25T00:10:00.3125003+08:00",
    "IsDeleted": true,
    "LastUpdatedTime": "2024-09-25T00:10:00.3125003+08:00"
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"PubId":"bbd02325-d05d-4af5-89db-e07ecc899a80","Title":"sample string 2","Content":"sample string 3","State":1,"Region":4,"Id":"8af62184-8a9f-4d8c-a386-d2e9a0d8a000","CreatedTime":"2024-09-25T00:10:00.3125003+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:10:00.3125003+08:00"}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfNoticemEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:CreatedTime>2024-09-25T00:10:00.3125003+08:00</d2p1:CreatedTime>
    <d2p1:Id>8af62184-8a9f-4d8c-a386-d2e9a0d8a000</d2p1:Id>
    <d2p1:IsDeleted>true</d2p1:IsDeleted>
    <d2p1:LastUpdatedTime>2024-09-25T00:10:00.3125003+08:00</d2p1:LastUpdatedTime>
    <d2p1:Content>sample string 3</d2p1:Content>
    <d2p1:PubId>bbd02325-d05d-4af5-89db-e07ecc899a80</d2p1:PubId>
    <d2p1:Region>4</d2p1:Region>
    <d2p1:State>草稿</d2p1:State>
    <d2p1:Title>sample string 2</d2p1:Title>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfNoticemEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"PubId":"bbd02325-d05d-4af5-89db-e07ecc899a80","Title":"sample string 2","Content":"sample string 3","State":1,"Region":4,"Id":"8af62184-8a9f-4d8c-a386-d2e9a0d8a000","CreatedTime":"2024-09-25T00:10:00.3125003+08:00","IsDeleted":true,"LastUpdatedTime":"2024-09-25T00:10:00.3125003+08:00"}});