POST api/Information/InformationClass

获取资讯分类 必填参数【parentId】

Request Information

URI Parameters

None.

Body Parameters

ExampleRelatedParameter
NameDescriptionTypeAdditional information
parentId

分类父级Id

integer

None.

proId

资讯Id

integer

None.

userId

登录的会员Id

string

None.

token

登录验证token

string

None.

page

当前页数

integer

None.

pageSize

每页数量

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "parentId": 1,
  "proId": 2,
  "userId": "sample string 3",
  "token": "sample string 4",
  "page": 5,
  "pageSize": 6
}

application/xml, text/xml

Sample:
<ExampleRelatedParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeiXin.WebAPI.Models.ExampleModels">
  <page>5</page>
  <pageSize>6</pageSize>
  <parentId>1</parentId>
  <proId>2</proId>
  <token>sample string 4</token>
  <userId>sample string 3</userId>
</ExampleRelatedParameter>

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 'ExampleRelatedParameter'.

Response Information

Resource Description

获取资讯分类 必填参数【parentId】

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.