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": "b776dbb9-f89c-446f-81b0-174a3841116c", "NetworkId": "744dd063-60ef-4bb8-9764-4071986b58ae", "Name": "sample string 3", "BrandFuelMasters": [ { "FuelMasterId": "f9647813-702f-4923-b4b2-ac73b752c7bc", "FuelMasterName": "sample string 3", "Name": "sample string 4" }, { "FuelMasterId": "f9647813-702f-4923-b4b2-ac73b752c7bc", "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>f9647813-702f-4923-b4b2-ac73b752c7bc</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>7b6790bb-9ea8-4a57-bf80-66ee8b42a5e5</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> <BrandFuelMasterDto> <FuelMasterId>f9647813-702f-4923-b4b2-ac73b752c7bc</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>7b6790bb-9ea8-4a57-bf80-66ee8b42a5e5</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> </BrandFuelMasters> <Id>b776dbb9-f89c-446f-81b0-174a3841116c</Id> <Name>sample string 3</Name> <NetworkId>744dd063-60ef-4bb8-9764-4071986b58ae</NetworkId> </BrandDto>