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": "f665fe16-4865-4615-abaf-45cf7717b577",
"NetworkId": "2adf234a-b4aa-4c33-bec9-d206bb804928",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "2abe3787-ae11-4a68-b6c1-5411a0758273",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "2abe3787-ae11-4a68-b6c1-5411a0758273",
"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>2abe3787-ae11-4a68-b6c1-5411a0758273</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>352e7cd9-e402-47de-becd-7211b249a6ba</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>2abe3787-ae11-4a68-b6c1-5411a0758273</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>352e7cd9-e402-47de-becd-7211b249a6ba</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>f665fe16-4865-4615-abaf-45cf7717b577</Id>
<Name>sample string 3</Name>
<NetworkId>2adf234a-b4aa-4c33-bec9-d206bb804928</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.