POST Brands
Creates a new brand.
Request Information
URI Parameters
None.
Body Parameters
The data of the brand.
BrandDto| Name | 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": "8f885d45-84fb-4dcd-89be-07dd57e77387",
"NetworkId": "73b4cdf8-92d0-414b-89e3-f52e0310d19f",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "221c1b20-ad6f-44ac-b446-f6de7d624e37",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "221c1b20-ad6f-44ac-b446-f6de7d624e37",
"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>221c1b20-ad6f-44ac-b446-f6de7d624e37</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>dfecd4c7-9777-44b7-bc92-6fad5e26cae1</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>221c1b20-ad6f-44ac-b446-f6de7d624e37</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>dfecd4c7-9777-44b7-bc92-6fad5e26cae1</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>8f885d45-84fb-4dcd-89be-07dd57e77387</Id>
<Name>sample string 3</Name>
<NetworkId>73b4cdf8-92d0-414b-89e3-f52e0310d19f</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.
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": "36f3e630-6599-4ea6-b7a7-d7ae084204e8",
"NetworkId": "c3ebe66f-ef0c-4957-b09b-4b8cb1c4cd42",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "a00cb789-ceff-4003-a272-4823744371f0",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "a00cb789-ceff-4003-a272-4823744371f0",
"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>a00cb789-ceff-4003-a272-4823744371f0</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>6ac46cfa-01f7-4163-8308-f7276f26750d</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>a00cb789-ceff-4003-a272-4823744371f0</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>6ac46cfa-01f7-4163-8308-f7276f26750d</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>36f3e630-6599-4ea6-b7a7-d7ae084204e8</Id>
<Name>sample string 3</Name>
<NetworkId>c3ebe66f-ef0c-4957-b09b-4b8cb1c4cd42</NetworkId>
</BrandDto>