GET Brands/{id}
Gets a brand by it's ID, represented as BrandDto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the brand. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The brand data.
BrandDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| BrandFuelMasters | Collection of BrandFuelMasterDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "8a492e68-3952-4e7b-98d8-2523b21e39aa",
"NetworkId": "40590508-f6d6-4cd4-be72-f136bb64e7ce",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "3278721e-0763-444d-a1dc-517922c67753",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "3278721e-0763-444d-a1dc-517922c67753",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<BrandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
<BrandFuelMasters>
<BrandFuelMasterDto>
<FuelMasterId>3278721e-0763-444d-a1dc-517922c67753</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>9112439d-ef28-4827-9d35-a2844e857ac5</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>3278721e-0763-444d-a1dc-517922c67753</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>9112439d-ef28-4827-9d35-a2844e857ac5</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>8a492e68-3952-4e7b-98d8-2523b21e39aa</Id>
<Name>sample string 3</Name>
<NetworkId>40590508-f6d6-4cd4-be72-f136bb64e7ce</NetworkId>
</BrandDto>