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": "18fb6d47-3e0c-4f6f-a4c3-7965f5349868",
"NetworkId": "d615bc3a-9309-453d-ae25-02c8a11f4ef2",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "d3e1425c-f8e1-459e-a722-74300f802a80",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "d3e1425c-f8e1-459e-a722-74300f802a80",
"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>d3e1425c-f8e1-459e-a722-74300f802a80</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>be7b3003-3b82-4b23-a726-d5b7163a0f5e</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>d3e1425c-f8e1-459e-a722-74300f802a80</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>be7b3003-3b82-4b23-a726-d5b7163a0f5e</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>18fb6d47-3e0c-4f6f-a4c3-7965f5349868</Id>
<Name>sample string 3</Name>
<NetworkId>d615bc3a-9309-453d-ae25-02c8a11f4ef2</NetworkId>
</BrandDto>