POST api/OutputData/GetBrand
获取brand
Request Information
URI Parameters
None.
Body Parameters
BasicParamsName | Description | Type | Additional information |
---|---|---|---|
userID |
用户ID |
integer |
None. |
token |
用户token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "userID": 1, "token": "sample string 2" }
application/xml, text/xml
Sample:
<BasicParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <token>sample string 2</token> <userID>1</userID> </BasicParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BasicResultOfListOfBrandName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
msg | string |
None. |
|
data | Collection of Brand |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2", "data": [ { "ID": 1, "Title": "sample string 2" }, { "ID": 1, "Title": "sample string 2" } ] }
application/xml, text/xml
Sample:
<BasicResultOfArrayOfBrand3kuEsPCO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <code>1</code> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.Model.api"> <d2p1:Brand> <d2p1:ID>1</d2p1:ID> <d2p1:Title>sample string 2</d2p1:Title> </d2p1:Brand> <d2p1:Brand> <d2p1:ID>1</d2p1:ID> <d2p1:Title>sample string 2</d2p1:Title> </d2p1:Brand> </data> <msg>sample string 2</msg> </BasicResultOfArrayOfBrand3kuEsPCO>