POST api/News/NewsCount
未读消息数量
Request Information
URI Parameters
None.
Body Parameters
NewsParameterName | Description | Type | Additional 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:
Response Information
Resource Description
未读消息数量
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. |