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": "f870afe8-aa01-42ab-8725-6feafc9d4229",
"NetworkId": "1e10d0d5-b593-4843-a074-3d2fbe8ed9d6",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "55f5d3f6-85fa-4ab2-ac23-4c88a823076e",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "55f5d3f6-85fa-4ab2-ac23-4c88a823076e",
"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>55f5d3f6-85fa-4ab2-ac23-4c88a823076e</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>b65e432c-2e83-4dc1-81cb-f7b41bc2c4e0</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>55f5d3f6-85fa-4ab2-ac23-4c88a823076e</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>b65e432c-2e83-4dc1-81cb-f7b41bc2c4e0</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>f870afe8-aa01-42ab-8725-6feafc9d4229</Id>
<Name>sample string 3</Name>
<NetworkId>1e10d0d5-b593-4843-a074-3d2fbe8ed9d6</NetworkId>
</BrandDto>