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.
BrandDtoName | 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": "e18bcf4d-31da-47e0-9d52-3a70553224b1", "NetworkId": "52c3ea53-6684-4479-aadc-6c2f3c5dd38a", "Name": "sample string 3", "BrandFuelMasters": [ { "FuelMasterId": "a104686c-8933-4579-b66d-35d53a9a525c", "FuelMasterName": "sample string 3", "Name": "sample string 4" }, { "FuelMasterId": "a104686c-8933-4579-b66d-35d53a9a525c", "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>a104686c-8933-4579-b66d-35d53a9a525c</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>93e5b5e8-7f66-41f7-b174-d6b569eb22b8</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> <BrandFuelMasterDto> <FuelMasterId>a104686c-8933-4579-b66d-35d53a9a525c</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>93e5b5e8-7f66-41f7-b174-d6b569eb22b8</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> </BrandFuelMasters> <Id>e18bcf4d-31da-47e0-9d52-3a70553224b1</Id> <Name>sample string 3</Name> <NetworkId>52c3ea53-6684-4479-aadc-6c2f3c5dd38a</NetworkId> </BrandDto>