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": "2a15a369-cdc8-4221-9e9e-c2754b9ddb58",
"NetworkId": "646d0cc6-b51d-477c-b955-dae2f372af76",
"Name": "sample string 3",
"BrandFuelMasters": [
{
"FuelMasterId": "eb53541b-f6ae-459f-bef3-8965dd818f9d",
"FuelMasterName": "sample string 3",
"Name": "sample string 4"
},
{
"FuelMasterId": "eb53541b-f6ae-459f-bef3-8965dd818f9d",
"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>eb53541b-f6ae-459f-bef3-8965dd818f9d</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>ae107584-776d-417b-918b-7996cde7838b</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
<BrandFuelMasterDto>
<FuelMasterId>eb53541b-f6ae-459f-bef3-8965dd818f9d</FuelMasterId>
<FuelMasterName>sample string 3</FuelMasterName>
<Id>ae107584-776d-417b-918b-7996cde7838b</Id>
<Name>sample string 4</Name>
</BrandFuelMasterDto>
</BrandFuelMasters>
<Id>2a15a369-cdc8-4221-9e9e-c2754b9ddb58</Id>
<Name>sample string 3</Name>
<NetworkId>646d0cc6-b51d-477c-b955-dae2f372af76</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.