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": "94b23978-eece-462c-b374-3da209d7884f",
"NetworkId": "211add4a-b4d6-44a1-8995-1d5a034bbf5d",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "e130f0e5-7a0f-404a-94dc-d05156949f82",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "e130f0e5-7a0f-404a-94dc-d05156949f82",
"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>e130f0e5-7a0f-404a-94dc-d05156949f82</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>fc4f4ba2-bd24-4821-94f1-70284d00b757</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>e130f0e5-7a0f-404a-94dc-d05156949f82</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>fc4f4ba2-bd24-4821-94f1-70284d00b757</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>94b23978-eece-462c-b374-3da209d7884f</Id>
<Name>sample string 3</Name>
<NetworkId>211add4a-b4d6-44a1-8995-1d5a034bbf5d</NetworkId>
</BrandDto>