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": "a51f86ed-2fd3-4615-8185-b037a6a4866e",
"MerchantId": "dfc835e6-cc5a-4c91-9362-1ffe5da15c6d",
"MerchantName": "sample string 3",
"SiteId": "197f5af5-6a66-4d3a-bbcf-a5b735d11785",
"SiteShortName": "sample string 5",
"FuelsMasterId": "8485e707-552b-4781-81bc-cbb7a1d2d19f",
"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>8485e707-552b-4781-81bc-cbb7a1d2d19f</FuelsMasterId> <Id>a51f86ed-2fd3-4615-8185-b037a6a4866e</Id> <MerchantId>dfc835e6-cc5a-4c91-9362-1ffe5da15c6d</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>197f5af5-6a66-4d3a-bbcf-a5b735d11785</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": "7f15c515-ed8b-4b1d-a52a-4932afddb42b",
"MerchantId": "6bc7eafc-57c1-4e78-bf44-7ebf0ecc3e2c",
"MerchantName": "sample string 3",
"SiteId": "c0fa6612-bdb2-4006-bd59-e54242a32378",
"SiteShortName": "sample string 5",
"FuelsMasterId": "6b90ade9-9436-4643-a26a-c8ccd0d47e18",
"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>6b90ade9-9436-4643-a26a-c8ccd0d47e18</FuelsMasterId> <Id>7f15c515-ed8b-4b1d-a52a-4932afddb42b</Id> <MerchantId>6bc7eafc-57c1-4e78-bf44-7ebf0ecc3e2c</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>c0fa6612-bdb2-4006-bd59-e54242a32378</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>