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": "b380c5f3-0989-436e-97d8-0e5eb7dd7426",
"NetworkId": "a9a3d822-6dc8-4689-a72a-ab9399b9fe9e",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "a1a0ed2d-c07a-43c2-a0c6-2cc1a35a77d2",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "a1a0ed2d-c07a-43c2-a0c6-2cc1a35a77d2",
"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>a1a0ed2d-c07a-43c2-a0c6-2cc1a35a77d2</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>57db7182-8b9c-4de5-9b1e-5ede9910c40c</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>a1a0ed2d-c07a-43c2-a0c6-2cc1a35a77d2</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>57db7182-8b9c-4de5-9b1e-5ede9910c40c</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>b380c5f3-0989-436e-97d8-0e5eb7dd7426</Id>
<Name>sample string 3</Name>
<NetworkId>a9a3d822-6dc8-4689-a72a-ab9399b9fe9e</NetworkId>
</BrandDto>