POST Fuels
Creates a new fuel.
Request Information
URI Parameters
None.
Body Parameters
The 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": "43c78104-10fc-4440-8457-268dc4e4285d",
"MerchantId": "ce235af7-174e-413e-94d2-de6e841586ae",
"MerchantName": "sample string 3",
"SiteId": "43c0eff5-b96d-4210-8e77-82c50dd52e0b",
"SiteShortName": "sample string 5",
"FuelsMasterId": "93f25425-8d26-4ffa-9964-ba38e2096733",
"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>93f25425-8d26-4ffa-9964-ba38e2096733</FuelsMasterId> <Id>43c78104-10fc-4440-8457-268dc4e4285d</Id> <MerchantId>ce235af7-174e-413e-94d2-de6e841586ae</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>43c0eff5-b96d-4210-8e77-82c50dd52e0b</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the fuel as FuelDto and the link to de 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. |
Response Formats
application/json, text/json
Sample:
{
"CodeBrandFuelMasterDescription": "sample string 9 - sample string 8",
"Id": "aef1d295-1c5f-40ab-b340-ada2ec30f2d0",
"MerchantId": "95bfbdbe-ee7b-4620-9663-ad46113fddd1",
"MerchantName": "sample string 3",
"SiteId": "c055e06e-eff6-4080-89ef-d860a0849c54",
"SiteShortName": "sample string 5",
"FuelsMasterId": "3fcf18ee-4523-4ee9-abe5-83c2f956870d",
"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>3fcf18ee-4523-4ee9-abe5-83c2f956870d</FuelsMasterId> <Id>aef1d295-1c5f-40ab-b340-ada2ec30f2d0</Id> <MerchantId>95bfbdbe-ee7b-4620-9663-ad46113fddd1</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>c055e06e-eff6-4080-89ef-d860a0849c54</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>