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": "6458de3a-b153-4ab1-8f37-027e85710837", "NetworkId": "7188351a-6c46-40c1-b6b4-9b17abf120ad", "Name": "sample string 3", "BrandFuelMasters": [ { "FuelMasterId": "1f84e65d-705c-4f82-9b2f-c151d76eceaa", "FuelMasterName": "sample string 3", "Name": "sample string 4" }, { "FuelMasterId": "1f84e65d-705c-4f82-9b2f-c151d76eceaa", "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>1f84e65d-705c-4f82-9b2f-c151d76eceaa</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>e9380348-2fc4-4e01-90d1-e71b4ce1d9ac</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> <BrandFuelMasterDto> <FuelMasterId>1f84e65d-705c-4f82-9b2f-c151d76eceaa</FuelMasterId> <FuelMasterName>sample string 3</FuelMasterName> <Id>e9380348-2fc4-4e01-90d1-e71b4ce1d9ac</Id> <Name>sample string 4</Name> </BrandFuelMasterDto> </BrandFuelMasters> <Id>6458de3a-b153-4ab1-8f37-027e85710837</Id> <Name>sample string 3</Name> <NetworkId>7188351a-6c46-40c1-b6b4-9b17abf120ad</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.