POST Brands
Creates a new brand.
Request Information
URI Parameters
None.
Body Parameters
The data of the brand.
BrandDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
NetworkId | globally unique identifier |
None. |
|
Name | string |
None. |
|
BrandFuelMasters | Collection of BrandFuelMasterDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "04c2375e-9b6c-4c59-9393-052eee20814b", "NetworkId": "e98e471f-f963-4a74-8726-e97479710eb7", "Name": "sample string 3", "BrandFuelMasters": [ { "FuelMasterId": "615675ba-8213-4511-933b-8abbffef31ed", "FuelMasterName": "sample string 3", "Name": "sample string 4" }, { "FuelMasterId": "615675ba-8213-4511-933b-8abbffef31ed", "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>615675ba-8213-4511-933b-8abbffef31ed</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>c5d55451-7dae-4d4a-a6ac-a6c4902ba522</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> <BrandFuelMasterDto> <FuelMasterId>615675ba-8213-4511-933b-8abbffef31ed</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>c5d55451-7dae-4d4a-a6ac-a6c4902ba522</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> </BrandFuelMasters> <Id>04c2375e-9b6c-4c59-9393-052eee20814b</Id> <Name>sample string 3</Name> <NetworkId>e98e471f-f963-4a74-8726-e97479710eb7</NetworkId> </BrandDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the brand as BrandDto and the link to the brand.
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": "fc255302-e4ba-4bc9-8961-f6da0034a08a", "NetworkId": "52bafe2d-9098-4632-9798-48ba1992544f", "Name": "sample string 3", "BrandFuelMasters": [ { "FuelMasterId": "64d7ae53-399d-4406-bcff-0462ffb27e23", "FuelMasterName": "sample string 3", "Name": "sample string 4" }, { "FuelMasterId": "64d7ae53-399d-4406-bcff-0462ffb27e23", "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>64d7ae53-399d-4406-bcff-0462ffb27e23</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>4ced5476-6709-4ae5-addb-31fc4b92d973</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> <BrandFuelMasterDto> <FuelMasterId>64d7ae53-399d-4406-bcff-0462ffb27e23</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>4ced5476-6709-4ae5-addb-31fc4b92d973</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> </BrandFuelMasters> <Id>fc255302-e4ba-4bc9-8961-f6da0034a08a</Id> <Name>sample string 3</Name> <NetworkId>52bafe2d-9098-4632-9798-48ba1992544f</NetworkId> </BrandDto>