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": "e5b0ac45-18a8-4207-8d2e-a103609264d7",
"NetworkId": "fd909c58-2820-43df-bd1b-0bee8986e7be",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "17774df4-1a8c-4863-8f10-bc61ad18a089",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "17774df4-1a8c-4863-8f10-bc61ad18a089",
"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>17774df4-1a8c-4863-8f10-bc61ad18a089</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>2c6fca7a-f50b-4118-9ab5-1317141a0cf8</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>17774df4-1a8c-4863-8f10-bc61ad18a089</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>2c6fca7a-f50b-4118-9ab5-1317141a0cf8</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>e5b0ac45-18a8-4207-8d2e-a103609264d7</Id>
<Name>sample string 3</Name>
<NetworkId>fd909c58-2820-43df-bd1b-0bee8986e7be</NetworkId>
</BrandDto>