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": "732547c2-e992-4f27-aa32-a9178810e107",
"NetworkId": "949987e0-3d4e-4bca-ba69-2f685f33d387",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "a248ef31-8440-4e41-b5b0-ea498516f94a",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "a248ef31-8440-4e41-b5b0-ea498516f94a",
"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>a248ef31-8440-4e41-b5b0-ea498516f94a</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>62f74f9a-242e-4da2-9874-b28c23b9b1f5</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>a248ef31-8440-4e41-b5b0-ea498516f94a</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>62f74f9a-242e-4da2-9874-b28c23b9b1f5</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>732547c2-e992-4f27-aa32-a9178810e107</Id>
<Name>sample string 3</Name>
<NetworkId>949987e0-3d4e-4bca-ba69-2f685f33d387</NetworkId>
</BrandDto>