POST api/News/NoticeList

公共的公告列表

Request Information

URI Parameters

None.

Body Parameters

NewsParameter
NameDescriptionTypeAdditional information
UserId

string

None.

Token

string

None.

ids

string

None.

ShopId

string

None.

newsid

integer

None.

MsgType

消息类型 默认0

integer

None.

MemberType

接收类型 0:会员 1:师傅 2:客服

integer

None.

NoticeType

类型:公告0,消息1

integer

None.

type

integer

None.

page

integer

None.

pagesize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Token": "sample string 2",
  "ids": "sample string 3",
  "ShopId": "sample string 4",
  "newsid": 5,
  "MsgType": 6,
  "MemberType": 7,
  "NoticeType": 8,
  "type": 9,
  "page": 10,
  "pagesize": 11
}

application/xml, text/xml

Sample:
<NewsParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.NewsModels">
  <MemberType>7</MemberType>
  <MsgType>6</MsgType>
  <NoticeType>8</NoticeType>
  <ShopId>sample string 4</ShopId>
  <Token>sample string 2</Token>
  <UserId>sample string 1</UserId>
  <ids>sample string 3</ids>
  <newsid>5</newsid>
  <page>10</page>
  <pagesize>11</pagesize>
  <type>9</type>
</NewsParameter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NewsParameter'.

Response Information

Resource Description

公共的公告列表

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.