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": "52f80f47-0dcf-4156-bd45-e57b415dd663",
"NetworkId": "6122cb00-653d-4c69-bdc5-1709d1b4483d",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "9af1c941-3eb6-49be-aff5-e9ef114c722c",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "9af1c941-3eb6-49be-aff5-e9ef114c722c",
"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>9af1c941-3eb6-49be-aff5-e9ef114c722c</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>2553392b-0a46-4e69-91f2-e1a1ac63a78f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>9af1c941-3eb6-49be-aff5-e9ef114c722c</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>2553392b-0a46-4e69-91f2-e1a1ac63a78f</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>52f80f47-0dcf-4156-bd45-e57b415dd663</Id>
<Name>sample string 3</Name>
<NetworkId>6122cb00-653d-4c69-bdc5-1709d1b4483d</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.