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": "41a5dd19-99c1-4a0d-92a2-acf216457fb4",
"NetworkId": "e8c03ba0-63d1-453b-b863-ef67fb40cd51",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "2497b79b-83e9-4bfa-9a38-02c76b5d416b",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "2497b79b-83e9-4bfa-9a38-02c76b5d416b",
"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>2497b79b-83e9-4bfa-9a38-02c76b5d416b</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>4050b6d1-6ce3-42d5-a148-60ae7841563f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>2497b79b-83e9-4bfa-9a38-02c76b5d416b</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>4050b6d1-6ce3-42d5-a148-60ae7841563f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>41a5dd19-99c1-4a0d-92a2-acf216457fb4</Id>
<Name>sample string 3</Name>
<NetworkId>e8c03ba0-63d1-453b-b863-ef67fb40cd51</NetworkId>
</BrandDto>