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": "df850d1a-19d4-4394-a50c-03fd5147b791",
"NetworkId": "edff744a-9428-406e-9364-ede5baa9f4f7",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "e4ef44e4-a745-429b-8a66-b7972f807a97",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "e4ef44e4-a745-429b-8a66-b7972f807a97",
"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>e4ef44e4-a745-429b-8a66-b7972f807a97</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>233ed995-55a3-4703-8457-5e3d85b30739</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>e4ef44e4-a745-429b-8a66-b7972f807a97</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>233ed995-55a3-4703-8457-5e3d85b30739</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>df850d1a-19d4-4394-a50c-03fd5147b791</Id>
<Name>sample string 3</Name>
<NetworkId>edff744a-9428-406e-9364-ede5baa9f4f7</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.