POST api/CarBrand/CarModelsList
车型列表,根据车系获取
Request Information
Body Parameters
车系参数
CarModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SerId |
车系Id |
integer |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SerId": 1,
"Token": "sample string 2",
"Language": "sample string 3",
"AppId": "sample string 4"
}
application/xml, text/xml
Sample:
<CarModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel"> <AppId>sample string 4</AppId> <Language>sample string 3</Language> <Token>sample string 2</Token> <SerId>1</SerId> </CarModelsModel>
Response Information
Resource Description
State 值为:
0. 表示成功
100. 表示列表无数据
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items |
CarBrandInfo信息集合 |
Collection of CarModelsInfo |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"BrandCode": "sample string 1",
"Created": "sample string 2",
"Deleted": true,
"ModelId": 4,
"ModelName": "sample string 5",
"ModelEN_Name": "sample string 6",
"SerID": 7,
"SortOrder": 8
},
{
"BrandCode": "sample string 1",
"Created": "sample string 2",
"Deleted": true,
"ModelId": 4,
"ModelName": "sample string 5",
"ModelEN_Name": "sample string 6",
"SerID": 7,
"SortOrder": 8
}
],
"State": 1
}
application/xml, text/xml
Sample:
<CarModelsResult 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:CarModelsInfo>
<d2p1:BrandCode>sample string 1</d2p1:BrandCode>
<d2p1:Created>sample string 2</d2p1:Created>
<d2p1:Deleted>true</d2p1:Deleted>
<d2p1:ModelEN_Name>sample string 6</d2p1:ModelEN_Name>
<d2p1:ModelId>4</d2p1:ModelId>
<d2p1:ModelName>sample string 5</d2p1:ModelName>
<d2p1:SerID>7</d2p1:SerID>
<d2p1:SortOrder>8</d2p1:SortOrder>
</d2p1:CarModelsInfo>
<d2p1:CarModelsInfo>
<d2p1:BrandCode>sample string 1</d2p1:BrandCode>
<d2p1:Created>sample string 2</d2p1:Created>
<d2p1:Deleted>true</d2p1:Deleted>
<d2p1:ModelEN_Name>sample string 6</d2p1:ModelEN_Name>
<d2p1:ModelId>4</d2p1:ModelId>
<d2p1:ModelName>sample string 5</d2p1:ModelName>
<d2p1:SerID>7</d2p1:SerID>
<d2p1:SortOrder>8</d2p1:SortOrder>
</d2p1:CarModelsInfo>
</Items>
</CarModelsResult>