POST api/Group/CreateBrandCatGroup
创建和编辑分组
Request Information
URI Parameters
None.
Body Parameters
CreateBrandCatGroupRequestName | Description | Type | Additional information |
---|---|---|---|
id |
主键,创建时传空或0 |
integer |
None. |
group_name |
分组名称 |
string |
None. |
brand_id |
品牌id,以英文逗号拼接;-1代表所有品牌 |
string |
None. |
cat_ids |
分类id,以英文逗号拼接;-1代表所有分类 |
string |
None. |
cat_id_list | string |
None. |
|
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "group_name": "sample string 1", "brand_id": "sample string 2", "cat_ids": "sample string 3", "cat_id_list": "sample string 4", "user_id": "sample string 5", "token": "sample string 6" }
application/xml, text/xml
Sample:
<CreateBrandCatGroupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 6</token> <user_id>sample string 5</user_id> <brand_id>sample string 2</brand_id> <cat_id_list>sample string 4</cat_id_list> <cat_ids>sample string 3</cat_ids> <group_name>sample string 1</group_name> <id>1</id> </CreateBrandCatGroupRequest>
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. |