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": "25768f2b-8730-4c5d-8d10-ffb4ea50c51b",
"MerchantId": "86816ad3-fd8c-4c4e-a5cf-3ac9f459c348",
"MerchantName": "sample string 3",
"SiteId": "36bad25f-bc0d-42fd-8341-1e8594eb1ffc",
"SiteShortName": "sample string 5",
"FuelsMasterId": "e247c2f2-c794-4107-b120-c1811b00600b",
"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>e247c2f2-c794-4107-b120-c1811b00600b</FuelsMasterId> <Id>25768f2b-8730-4c5d-8d10-ffb4ea50c51b</Id> <MerchantId>86816ad3-fd8c-4c4e-a5cf-3ac9f459c348</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>36bad25f-bc0d-42fd-8341-1e8594eb1ffc</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": "a52c82f9-e8b6-4cc2-8d65-259d6faddc9c",
"MerchantId": "61f94a0e-df8b-4ad1-8178-753c66e319b4",
"MerchantName": "sample string 3",
"SiteId": "e0fdd4d0-cff7-4824-9935-7d6382a3a1e2",
"SiteShortName": "sample string 5",
"FuelsMasterId": "8dd4ed6b-ce46-4ea1-950f-bbfaf39be8a9",
"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>8dd4ed6b-ce46-4ea1-950f-bbfaf39be8a9</FuelsMasterId> <Id>a52c82f9-e8b6-4cc2-8d65-259d6faddc9c</Id> <MerchantId>61f94a0e-df8b-4ad1-8178-753c66e319b4</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>e0fdd4d0-cff7-4824-9935-7d6382a3a1e2</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>