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.
FuelDto| Name | 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": "7562b397-413e-490e-addb-f72de49121cf",
"MerchantId": "e2824df4-2c64-49a5-a8ae-67347a9818b3",
"MerchantName": "sample string 3",
"SiteId": "e943b21c-9cd1-4f8e-af91-ce40ac9b9e3e",
"SiteShortName": "sample string 5",
"FuelsMasterId": "c8c41a99-3577-4ce3-9845-c5382d3d17c8",
"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>c8c41a99-3577-4ce3-9845-c5382d3d17c8</FuelsMasterId> <Id>7562b397-413e-490e-addb-f72de49121cf</Id> <MerchantId>e2824df4-2c64-49a5-a8ae-67347a9818b3</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>e943b21c-9cd1-4f8e-af91-ce40ac9b9e3e</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.