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": "0e22ef7f-d6f7-46b9-9ffe-e3a62657a714",
"NetworkId": "e3ef50a7-36bb-41b9-be2a-ea568d52cb7f",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "bffdd38e-c741-49ab-bf5a-4eb370b24d3d",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "bffdd38e-c741-49ab-bf5a-4eb370b24d3d",
"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>bffdd38e-c741-49ab-bf5a-4eb370b24d3d</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>c8237efe-12cb-4dc6-b224-153a99775c8f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>bffdd38e-c741-49ab-bf5a-4eb370b24d3d</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>c8237efe-12cb-4dc6-b224-153a99775c8f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>0e22ef7f-d6f7-46b9-9ffe-e3a62657a714</Id>
<Name>sample string 3</Name>
<NetworkId>e3ef50a7-36bb-41b9-be2a-ea568d52cb7f</NetworkId>
</BrandDto>