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": "d5675174-7068-4e23-abde-c2f9e447f21c",
"NetworkId": "aaa9aa9d-3b87-4914-95f4-a9f355e2edf5",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "84aa4937-8244-4cda-af0f-7549e217515a",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "84aa4937-8244-4cda-af0f-7549e217515a",
"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>84aa4937-8244-4cda-af0f-7549e217515a</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>5fefd863-abb1-4fb8-a49b-16274af9d969</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>84aa4937-8244-4cda-af0f-7549e217515a</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>5fefd863-abb1-4fb8-a49b-16274af9d969</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>d5675174-7068-4e23-abde-c2f9e447f21c</Id>
<Name>sample string 3</Name>
<NetworkId>aaa9aa9d-3b87-4914-95f4-a9f355e2edf5</NetworkId>
</BrandDto>