POST api/PostDingDing/GetBrandList

获取品牌信息

Request Information

URI Parameters

None.

Body Parameters

请求数据

BrandRequest
NameDescriptionTypeAdditional information
brand_name

品牌名

string

None.

from_type

品牌创建页面传:add 发布帖子页面传:all

string

None.

brand_id

品牌id

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "brand_name": "sample string 1",
  "from_type": "sample string 2",
  "brand_id": 1,
  "user_id": "sample string 3",
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<BrandRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 4</token>
  <user_id>sample string 3</user_id>
  <brand_id>1</brand_id>
  <brand_name>sample string 1</brand_name>
  <from_type>sample string 2</from_type>
</BrandRequest>

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

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.