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": "3b83bd36-e9d1-42e3-90b1-1d9355e5d367",
"NetworkId": "cc4410dd-11de-434e-b7a2-823afb95b5c6",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "3b3559ae-3e53-4f1d-ae2b-9137ca977df9",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "3b3559ae-3e53-4f1d-ae2b-9137ca977df9",
"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>3b3559ae-3e53-4f1d-ae2b-9137ca977df9</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>323130d5-1b23-44bd-8ac5-bacef5935b1a</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>3b3559ae-3e53-4f1d-ae2b-9137ca977df9</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>323130d5-1b23-44bd-8ac5-bacef5935b1a</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>3b83bd36-e9d1-42e3-90b1-1d9355e5d367</Id>
<Name>sample string 3</Name>
<NetworkId>cc4410dd-11de-434e-b7a2-823afb95b5c6</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": "c4671b65-17c1-4eb8-bf7e-449b8648532d",
"NetworkId": "af215530-8860-4ef5-b9b1-7c8a00bf87a9",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "259a60e9-6596-4f29-8bb9-94247e24b70f",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "259a60e9-6596-4f29-8bb9-94247e24b70f",
"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>259a60e9-6596-4f29-8bb9-94247e24b70f</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>fdf64444-5fc9-44c4-96a9-ef57de4c68ba</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>259a60e9-6596-4f29-8bb9-94247e24b70f</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>fdf64444-5fc9-44c4-96a9-ef57de4c68ba</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>c4671b65-17c1-4eb8-bf7e-449b8648532d</Id>
<Name>sample string 3</Name>
<NetworkId>af215530-8860-4ef5-b9b1-7c8a00bf87a9</NetworkId>
</BrandDto>