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": "3d51bfaf-d2c2-4ad8-8a88-ef2f58d1689d",
"NetworkId": "575246c9-13af-41e0-9b0d-749cf96d9890",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "d6d0e2cb-6fa1-43ac-a026-576bef037e43",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "d6d0e2cb-6fa1-43ac-a026-576bef037e43",
"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>d6d0e2cb-6fa1-43ac-a026-576bef037e43</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>93c1b850-84d6-4238-ac5b-3884d4214099</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>d6d0e2cb-6fa1-43ac-a026-576bef037e43</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>93c1b850-84d6-4238-ac5b-3884d4214099</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>3d51bfaf-d2c2-4ad8-8a88-ef2f58d1689d</Id>
<Name>sample string 3</Name>
<NetworkId>575246c9-13af-41e0-9b0d-749cf96d9890</NetworkId>
</BrandDto>