POST api/News/NoticeList
公共的公告列表 必填参数【UserId,Token,MemberType】
Request Information
URI Parameters
None.
Body Parameters
NewsParameterName | Description | Type | Additional information |
---|---|---|---|
UserId |
UserId |
string |
None. |
Token |
Token |
string |
None. |
newsid |
消息Id |
integer |
None. |
MsgType |
消息类型 默认0 |
integer |
None. |
MemberType |
接收类型 0:会员 1:全部 |
integer |
None. |
NoticeType |
类型:公告0,消息1 |
integer |
None. |
page |
页面 |
integer |
None. |
pagesize |
条数 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "Token": "sample string 2", "newsid": 3, "MsgType": 4, "MemberType": 5, "NoticeType": 6, "page": 7, "pagesize": 8 }
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>5</MemberType> <MsgType>4</MsgType> <NoticeType>6</NoticeType> <Token>sample string 2</Token> <UserId>sample string 1</UserId> <newsid>3</newsid> <page>7</page> <pagesize>8</pagesize> </NewsParameter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
公共的公告列表 必填参数【UserId,Token,MemberType】
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |