PUT Brands
Updates the brand.
Request Information
URI Parameters
None.
Body Parameters
The new data of the fuel (with its correspondent ID).
BrandDtoName | 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": "f89775a8-1938-4027-9e32-8260ddcea963", "NetworkId": "f0e8dd11-dc06-4cf8-bf71-a0f444a1d5b2", "Name": "sample string 3", "BrandFuelMasters": [ { "FuelMasterId": "64d03523-4ce3-4a82-a168-60694754e3eb", "FuelMasterName": "sample string 3", "Name": "sample string 4" }, { "FuelMasterId": "64d03523-4ce3-4a82-a168-60694754e3eb", "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>64d03523-4ce3-4a82-a168-60694754e3eb</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>75563967-14ce-436b-9cf4-c2a12cf48318</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> <BrandFuelMasterDto> <FuelMasterId>64d03523-4ce3-4a82-a168-60694754e3eb</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>75563967-14ce-436b-9cf4-c2a12cf48318</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> </BrandFuelMasters> <Id>f89775a8-1938-4027-9e32-8260ddcea963</Id> <Name>sample string 3</Name> <NetworkId>f0e8dd11-dc06-4cf8-bf71-a0f444a1d5b2</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.