POST api/GoodsStandard/AddGoodsStandardItem
标准分类项目新增或编辑
Request Information
URI Parameters
None.
Body Parameters
AddGoodsStandardItemRequestName | Description | Type | Additional information |
---|---|---|---|
id |
主键 新增传0或空 |
integer |
None. |
standard_type_id |
标准Id,表shop_goods_stock_standard_type主键 |
integer |
None. |
standard_name |
标准名称 |
string |
None. |
brand_idList |
品牌Id,多个逗号分割 |
string |
None. |
cat_idList |
分类Id,多个逗号分割 |
string |
None. |
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "standard_type_id": 2, "standard_name": "sample string 3", "brand_idList": "sample string 4", "cat_idList": "sample string 5", "user_id": "sample string 6", "token": "sample string 7" }
application/xml, text/xml
Sample:
<AddGoodsStandardItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 7</token> <user_id>sample string 6</user_id> <brand_idList>sample string 4</brand_idList> <cat_idList>sample string 5</cat_idList> <id>1</id> <standard_name>sample string 3</standard_name> <standard_type_id>2</standard_type_id> </AddGoodsStandardItemRequest>
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. |