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": "c50f3273-5453-488f-88f9-b5e946c3840b",
"NetworkId": "ab0e4e63-d0bb-42e1-8c9e-4cf6086db6ce",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "a8cad9a8-7058-4b3b-8449-bca0b175ed8a",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "a8cad9a8-7058-4b3b-8449-bca0b175ed8a",
"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>a8cad9a8-7058-4b3b-8449-bca0b175ed8a</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>0cf01dfc-171f-4440-8c46-eb69b0c4d4ea</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>a8cad9a8-7058-4b3b-8449-bca0b175ed8a</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>0cf01dfc-171f-4440-8c46-eb69b0c4d4ea</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>c50f3273-5453-488f-88f9-b5e946c3840b</Id>
<Name>sample string 3</Name>
<NetworkId>ab0e4e63-d0bb-42e1-8c9e-4cf6086db6ce</NetworkId>
</BrandDto>