GET Brand/GetBrands?car_type={car_type}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| car_type | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BrandResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Brands | Collection of BrandResultModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Brands": [
{
"BrandName": "sample string 1",
"BrandID": 2
},
{
"BrandName": "sample string 1",
"BrandID": 2
}
]
}
application/xml, text/xml
Sample:
<BrandController.BrandResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
<Brands>
<BrandController.BrandResultModel>
<BrandID>2</BrandID>
<BrandName>sample string 1</BrandName>
</BrandController.BrandResultModel>
<BrandController.BrandResultModel>
<BrandID>2</BrandID>
<BrandName>sample string 1</BrandName>
</BrandController.BrandResultModel>
</Brands>
<Message>sample string 2</Message>
<Success>true</Success>
</BrandController.BrandResponseModel>