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": "3e636b44-172e-4c11-af81-0a0ea871dea7",
"NetworkId": "e830fd18-0f1f-426b-a977-80d5ed899ec7",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "e0f88257-f8ce-4fb2-b0cd-94d00a159259",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "e0f88257-f8ce-4fb2-b0cd-94d00a159259",
"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>e0f88257-f8ce-4fb2-b0cd-94d00a159259</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>23748599-9324-4868-b4c9-c395003a6dcb</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>e0f88257-f8ce-4fb2-b0cd-94d00a159259</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>23748599-9324-4868-b4c9-c395003a6dcb</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>3e636b44-172e-4c11-af81-0a0ea871dea7</Id>
<Name>sample string 3</Name>
<NetworkId>e830fd18-0f1f-426b-a977-80d5ed899ec7</NetworkId>
</BrandDto>