POST api/CarBrand/MktBrandList
适用于 VT200(MKT) obd 车型列表
Request Information
Body Parameters
车型列表参数
CarBrandListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"Language": "sample string 2",
"AppId": "sample string 3"
}
application/xml, text/xml
Sample:
<CarBrandListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 3</AppId> <Language>sample string 2</Language> <Token>sample string 1</Token> </CarBrandListModel>
Response Information
Resource Description
State 值为:
0. 表示成功
100. 表示列表无数据
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items |
CarBrandInfo信息集合 |
Collection of CarBrandInfo |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"BrandId": 1,
"Brand": "sample string 2",
"EN_Name": "sample string 3",
"BrandValue": 4,
"Logo": "sample string 5",
"Description": "sample string 6",
"SortId": 7,
"Created": "sample string 8",
"Deleted": true
},
{
"BrandId": 1,
"Brand": "sample string 2",
"EN_Name": "sample string 3",
"BrandValue": 4,
"Logo": "sample string 5",
"Description": "sample string 6",
"SortId": 7,
"Created": "sample string 8",
"Deleted": true
}
],
"State": 1
}
application/xml, text/xml
Sample:
<CarBrandListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
<State>1</State>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
<d2p1:CarBrandInfo>
<d2p1:Brand>sample string 2</d2p1:Brand>
<d2p1:BrandId>1</d2p1:BrandId>
<d2p1:BrandValue>4</d2p1:BrandValue>
<d2p1:Created>sample string 8</d2p1:Created>
<d2p1:Deleted>true</d2p1:Deleted>
<d2p1:Description>sample string 6</d2p1:Description>
<d2p1:EN_Name>sample string 3</d2p1:EN_Name>
<d2p1:Logo>sample string 5</d2p1:Logo>
<d2p1:SortId>7</d2p1:SortId>
</d2p1:CarBrandInfo>
<d2p1:CarBrandInfo>
<d2p1:Brand>sample string 2</d2p1:Brand>
<d2p1:BrandId>1</d2p1:BrandId>
<d2p1:BrandValue>4</d2p1:BrandValue>
<d2p1:Created>sample string 8</d2p1:Created>
<d2p1:Deleted>true</d2p1:Deleted>
<d2p1:Description>sample string 6</d2p1:Description>
<d2p1:EN_Name>sample string 3</d2p1:EN_Name>
<d2p1:Logo>sample string 5</d2p1:Logo>
<d2p1:SortId>7</d2p1:SortId>
</d2p1:CarBrandInfo>
</Items>
</CarBrandListResult>