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": "6c0554b5-ec83-402c-bbf8-630aa7a5b7b1",
"MerchantId": "08dcc280-2363-4c6e-b74d-580b7a4b54ef",
"MerchantName": "sample string 3",
"SiteId": "cb97267f-70f6-4d29-8744-a806d5583a2c",
"SiteShortName": "sample string 5",
"FuelsMasterId": "8c64ea7c-2cf3-4768-a63b-2c6627263f60",
"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>8c64ea7c-2cf3-4768-a63b-2c6627263f60</FuelsMasterId> <Id>6c0554b5-ec83-402c-bbf8-630aa7a5b7b1</Id> <MerchantId>08dcc280-2363-4c6e-b74d-580b7a4b54ef</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>cb97267f-70f6-4d29-8744-a806d5583a2c</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": "5084b881-d028-493b-b404-02ad1a1da7d6",
"MerchantId": "e945243a-f556-43fe-9682-669817345f2c",
"MerchantName": "sample string 3",
"SiteId": "221c719a-7870-4596-a84a-4354f12666ad",
"SiteShortName": "sample string 5",
"FuelsMasterId": "5b7ad539-b38f-4a65-ac3b-c1c2786ff836",
"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>5b7ad539-b38f-4a65-ac3b-c1c2786ff836</FuelsMasterId> <Id>5084b881-d028-493b-b404-02ad1a1da7d6</Id> <MerchantId>e945243a-f556-43fe-9682-669817345f2c</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>221c719a-7870-4596-a84a-4354f12666ad</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>