PUT Fuels/{id}
Updates the fuel.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the fuel. |
globally unique identifier |
Required |
Body Parameters
The new data of the fuel.
FuelDtoName | Description | Type | Additional information |
---|---|---|---|
CodeBrandFuelMasterDescription | string |
None. |
|
Id | globally unique identifier |
None. |
|
MerchantId | globally unique identifier |
None. |
|
MerchantName | string |
None. |
|
SiteId | globally unique identifier |
None. |
|
SiteShortName | string |
None. |
|
FuelsMasterId | globally unique identifier |
None. |
|
FuelMasterDescription | string |
None. |
|
BrandFuelMasterDescription | string |
None. |
|
Code | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CodeBrandFuelMasterDescription": "sample string 9 - sample string 8", "Id": "79b4e6d3-9e06-4df1-9986-994bdb495e23", "MerchantId": "9a912e81-8bf0-4837-98ea-7a2d486c0e04", "MerchantName": "sample string 3", "SiteId": "32e9f7e8-d9e2-434c-aad9-c0bb3cb31027", "SiteShortName": "sample string 5", "FuelsMasterId": "73393539-d294-44fb-b03a-ed5f31c8586a", "FuelMasterDescription": "sample string 7", "BrandFuelMasterDescription": "sample string 8", "Code": "sample string 9" }
application/xml, text/xml
Sample:
<FuelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <BrandFuelMasterDescription>sample string 8</BrandFuelMasterDescription> <Code>sample string 9</Code> <FuelMasterDescription>sample string 7</FuelMasterDescription> <FuelsMasterId>73393539-d294-44fb-b03a-ed5f31c8586a</FuelsMasterId> <Id>79b4e6d3-9e06-4df1-9986-994bdb495e23</Id> <MerchantId>9a912e81-8bf0-4837-98ea-7a2d486c0e04</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>32e9f7e8-d9e2-434c-aad9-c0bb3cb31027</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>
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.