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": "ab8698ba-7278-462c-a311-ec27e028a440",
"NetworkId": "9037dcfb-4f65-4d0d-a7e8-f8c93632ab0e",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "627735cb-7ae3-4d7e-b6b6-e22cdccbc4b5",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "627735cb-7ae3-4d7e-b6b6-e22cdccbc4b5",
"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>627735cb-7ae3-4d7e-b6b6-e22cdccbc4b5</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>6933446d-d632-494c-a49a-a0f4b2ce17f7</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>627735cb-7ae3-4d7e-b6b6-e22cdccbc4b5</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>6933446d-d632-494c-a49a-a0f4b2ce17f7</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>ab8698ba-7278-462c-a311-ec27e028a440</Id>
<Name>sample string 3</Name>
<NetworkId>9037dcfb-4f65-4d0d-a7e8-f8c93632ab0e</NetworkId>
</BrandDto>