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": "e2228d39-0b05-4a37-97c9-320f834fc5cc",
"NetworkId": "6a392579-c953-429e-8d0d-93dabb3a05f9",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "db527aa5-1906-4009-bcf7-d3b6c06b9ce7",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "db527aa5-1906-4009-bcf7-d3b6c06b9ce7",
"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>db527aa5-1906-4009-bcf7-d3b6c06b9ce7</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>977d7b0c-13df-4a81-a649-767a35ab3588</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>db527aa5-1906-4009-bcf7-d3b6c06b9ce7</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>977d7b0c-13df-4a81-a649-767a35ab3588</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>e2228d39-0b05-4a37-97c9-320f834fc5cc</Id>
<Name>sample string 3</Name>
<NetworkId>6a392579-c953-429e-8d0d-93dabb3a05f9</NetworkId>
</BrandDto>