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": "309ffb8c-0a55-42b7-9647-e61ab68c9cb5",
"NetworkId": "00699b8a-921e-49dd-9b17-167bfb691534",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "03bbd7d2-488b-4c64-931f-6ec4ee2bad2d",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "03bbd7d2-488b-4c64-931f-6ec4ee2bad2d",
"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>03bbd7d2-488b-4c64-931f-6ec4ee2bad2d</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>a78fa704-c465-4909-b4c2-5c076165c08f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>03bbd7d2-488b-4c64-931f-6ec4ee2bad2d</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>a78fa704-c465-4909-b4c2-5c076165c08f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>309ffb8c-0a55-42b7-9647-e61ab68c9cb5</Id>
<Name>sample string 3</Name>
<NetworkId>00699b8a-921e-49dd-9b17-167bfb691534</NetworkId>
</BrandDto>