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": "043f458a-973f-43bd-ace6-6d88111c4f0a",
"NetworkId": "8d1210ef-0e17-4c57-952e-2099650929f0",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "f6b24d45-9893-4b6f-a01e-e14874f0e513",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "f6b24d45-9893-4b6f-a01e-e14874f0e513",
"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>f6b24d45-9893-4b6f-a01e-e14874f0e513</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>59c0a92b-ea22-4fae-932a-8c6fc00e65af</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>f6b24d45-9893-4b6f-a01e-e14874f0e513</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>59c0a92b-ea22-4fae-932a-8c6fc00e65af</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>043f458a-973f-43bd-ace6-6d88111c4f0a</Id>
<Name>sample string 3</Name>
<NetworkId>8d1210ef-0e17-4c57-952e-2099650929f0</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": "9fa68d3b-9e89-4ca4-8bf7-6d5a29529f48",
"NetworkId": "0fd7cb45-de14-4d21-8ca4-4c1f1666a42c",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "109333aa-0667-42bb-8714-6c401479bf2c",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "109333aa-0667-42bb-8714-6c401479bf2c",
"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>109333aa-0667-42bb-8714-6c401479bf2c</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>eeda0d77-a49d-40c3-850b-6aa3ee692665</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>109333aa-0667-42bb-8714-6c401479bf2c</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>eeda0d77-a49d-40c3-850b-6aa3ee692665</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>9fa68d3b-9e89-4ca4-8bf7-6d5a29529f48</Id>
<Name>sample string 3</Name>
<NetworkId>0fd7cb45-de14-4d21-8ca4-4c1f1666a42c</NetworkId>
</BrandDto>