PUT api/Bookcase/PutNotice

修改公告

Request Information

URI Parameters

None.

Body Parameters

"cid":"id","title":"标题","type":"类型","about":"公告","abouttype":"公告类型 0 文本 1 图片"

PutBookcaseNoticePostModel
NameDescriptionTypeAdditional information
cid

自增id

string

None.

title

标题

string

None.

type

类型

string

None.

about

正文

string

None.

abouttype

正文类型

string

None.

hot

热门

string

None.

Request Formats

application/json, text/json

Sample:
{
  "cid": "sample string 1",
  "title": "sample string 2",
  "type": "sample string 3",
  "about": "sample string 4",
  "abouttype": "sample string 5",
  "hot": "sample string 6"
}

text/html

Sample:
{"cid":"sample string 1","title":"sample string 2","type":"sample string 3","about":"sample string 4","abouttype":"sample string 5","hot":"sample string 6"}

application/xml, text/xml

Sample:
<PutBookcaseNoticePostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.Models">
  <about>sample string 4</about>
  <abouttype>sample string 5</abouttype>
  <cid>sample string 1</cid>
  <hot>sample string 6</hot>
  <title>sample string 2</title>
  <type>sample string 3</type>
</PutBookcaseNoticePostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

true/false/error

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.