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": "986cb3be-9f10-45fc-9ada-631beb5fc228",
"NetworkId": "1119691b-e6a8-4978-9af1-eb3e0f8a86d9",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "e325128b-5f5a-4c2d-8eb6-64eba48264e7",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "e325128b-5f5a-4c2d-8eb6-64eba48264e7",
"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>e325128b-5f5a-4c2d-8eb6-64eba48264e7</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>60bf20a5-705b-4b7c-9c1f-d8fd008da211</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>e325128b-5f5a-4c2d-8eb6-64eba48264e7</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>60bf20a5-705b-4b7c-9c1f-d8fd008da211</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>986cb3be-9f10-45fc-9ada-631beb5fc228</Id>
<Name>sample string 3</Name>
<NetworkId>1119691b-e6a8-4978-9af1-eb3e0f8a86d9</NetworkId>
</BrandDto>