PUT Brands
Updates the brand.
Request Information
URI Parameters
None.
Body Parameters
The new data of the fuel (with its correspondent ID).
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": "3e2dac78-175f-41d2-bc01-4666ea25f30c",
"NetworkId": "c342f179-e774-4227-936f-2e0ba7b17126",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "28c879cf-166b-43c0-8cd7-7ddffb32eba9",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "28c879cf-166b-43c0-8cd7-7ddffb32eba9",
"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>28c879cf-166b-43c0-8cd7-7ddffb32eba9</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>fdf42fd5-b9f1-482e-8aa4-2bd94831b2e6</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>28c879cf-166b-43c0-8cd7-7ddffb32eba9</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>fdf42fd5-b9f1-482e-8aa4-2bd94831b2e6</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>3e2dac78-175f-41d2-bc01-4666ea25f30c</Id>
<Name>sample string 3</Name>
<NetworkId>c342f179-e774-4227-936f-2e0ba7b17126</NetworkId>
</BrandDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.