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": "3a2e00a7-7a64-4f0a-91b7-b9a84f154189",
"MerchantId": "9d59afdf-608e-4595-bb12-ec323ee56754",
"MerchantName": "sample string 3",
"SiteId": "7cc65ef0-2f44-4273-9621-fcfc0c28d0f6",
"SiteShortName": "sample string 5",
"FuelsMasterId": "b331caaa-7095-4768-8ef9-f89bab1201c5",
"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>b331caaa-7095-4768-8ef9-f89bab1201c5</FuelsMasterId> <Id>3a2e00a7-7a64-4f0a-91b7-b9a84f154189</Id> <MerchantId>9d59afdf-608e-4595-bb12-ec323ee56754</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>7cc65ef0-2f44-4273-9621-fcfc0c28d0f6</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": "e4c5aeea-9c59-4907-b197-04d6fda55b90",
"MerchantId": "613d1e88-c45a-4847-9112-ebd065cf35e8",
"MerchantName": "sample string 3",
"SiteId": "7c4d7b15-32b0-414f-8207-9f4f8a722374",
"SiteShortName": "sample string 5",
"FuelsMasterId": "1c328b43-fb2d-4a3d-b0c8-64e578b14945",
"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>1c328b43-fb2d-4a3d-b0c8-64e578b14945</FuelsMasterId> <Id>e4c5aeea-9c59-4907-b197-04d6fda55b90</Id> <MerchantId>613d1e88-c45a-4847-9112-ebd065cf35e8</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>7c4d7b15-32b0-414f-8207-9f4f8a722374</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>