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": "d41006ce-a376-41e8-9fb1-e9284deec763",
"MerchantId": "bdc9fbe2-0838-46a8-b98f-cbb1684cdb3e",
"MerchantName": "sample string 3",
"SiteId": "5cd97952-5b93-4eb6-b774-ebe665ab0e60",
"SiteShortName": "sample string 5",
"FuelsMasterId": "44bb7f52-a9e1-4f9b-9ad3-bcd0347aa3c8",
"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>44bb7f52-a9e1-4f9b-9ad3-bcd0347aa3c8</FuelsMasterId> <Id>d41006ce-a376-41e8-9fb1-e9284deec763</Id> <MerchantId>bdc9fbe2-0838-46a8-b98f-cbb1684cdb3e</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>5cd97952-5b93-4eb6-b774-ebe665ab0e60</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": "5b670da2-bf90-4f1c-b070-78baf8414eee",
"MerchantId": "c338fe8d-4bb2-4af6-97e3-55e6857cebce",
"MerchantName": "sample string 3",
"SiteId": "d547ca7a-c683-4572-819c-99f0eb5649f6",
"SiteShortName": "sample string 5",
"FuelsMasterId": "860aa9e7-5d85-4e57-95ed-62ef06203878",
"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>860aa9e7-5d85-4e57-95ed-62ef06203878</FuelsMasterId> <Id>5b670da2-bf90-4f1c-b070-78baf8414eee</Id> <MerchantId>c338fe8d-4bb2-4af6-97e3-55e6857cebce</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>d547ca7a-c683-4572-819c-99f0eb5649f6</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>