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": "fc8e9709-26ed-4ef6-bbc9-0d74ed4ea1b9",
"MerchantId": "cf8d4526-67f8-4297-b18b-4d967a86f5e5",
"MerchantName": "sample string 3",
"SiteId": "04f4ae30-5c08-4259-91cc-8b279162623e",
"SiteShortName": "sample string 5",
"FuelsMasterId": "7de548e3-5ab3-45dd-a2e4-493831bd2298",
"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>7de548e3-5ab3-45dd-a2e4-493831bd2298</FuelsMasterId> <Id>fc8e9709-26ed-4ef6-bbc9-0d74ed4ea1b9</Id> <MerchantId>cf8d4526-67f8-4297-b18b-4d967a86f5e5</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>04f4ae30-5c08-4259-91cc-8b279162623e</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": "21441682-5a0f-46f5-8686-da4b62d28f24",
"MerchantId": "b1e7d6ac-db27-4f55-84d2-1798c62aa536",
"MerchantName": "sample string 3",
"SiteId": "05a0dc64-3209-4997-851b-01b87a4c91e1",
"SiteShortName": "sample string 5",
"FuelsMasterId": "0a0b5152-96ab-495d-93b6-ce8d16ab3765",
"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>0a0b5152-96ab-495d-93b6-ce8d16ab3765</FuelsMasterId> <Id>21441682-5a0f-46f5-8686-da4b62d28f24</Id> <MerchantId>b1e7d6ac-db27-4f55-84d2-1798c62aa536</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>05a0dc64-3209-4997-851b-01b87a4c91e1</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>