POST api/Group/GetCategoryListLevel

获取分类信息

Request Information

URI Parameters

None.

Body Parameters

请求数据

CategoryGroupRequest
NameDescriptionTypeAdditional information
group_id

分组id

integer

None.

level

层级 0-一级 1-二级 2-三级

integer

None.

category

分类名

string

None.

parent_id

父级ID 默认可传空

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "group_id": 1,
  "level": 1,
  "category": "sample string 2",
  "parent_id": "sample string 3",
  "user_id": "sample string 4",
  "token": "sample string 5"
}

application/xml, text/xml

Sample:
<CategoryGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 5</token>
  <user_id>sample string 4</user_id>
  <category>sample string 2</category>
  <group_id>1</group_id>
  <level>1</level>
  <parent_id>sample string 3</parent_id>
</CategoryGroupRequest>

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

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.