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": "852bffaa-4083-40f9-88de-5cde7257d1a1",
"MerchantId": "908199ac-1146-4754-857e-f6d6b30b9d91",
"MerchantName": "sample string 3",
"SiteId": "54d0a2fc-73a5-42ac-9854-038faa0aa3d6",
"SiteShortName": "sample string 5",
"FuelsMasterId": "9c6375af-5b09-430e-93c4-5ef5608d0644",
"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>9c6375af-5b09-430e-93c4-5ef5608d0644</FuelsMasterId> <Id>852bffaa-4083-40f9-88de-5cde7257d1a1</Id> <MerchantId>908199ac-1146-4754-857e-f6d6b30b9d91</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>54d0a2fc-73a5-42ac-9854-038faa0aa3d6</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": "555bf5d2-4660-4f62-add3-710b2bfddfd2",
"MerchantId": "381f42e2-3126-45a5-9df7-5607ceab572a",
"MerchantName": "sample string 3",
"SiteId": "6f31a9c6-59f3-43a8-be09-dbb4ec4edfa5",
"SiteShortName": "sample string 5",
"FuelsMasterId": "56997165-649f-421a-8940-a0fbc62a893a",
"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>56997165-649f-421a-8940-a0fbc62a893a</FuelsMasterId> <Id>555bf5d2-4660-4f62-add3-710b2bfddfd2</Id> <MerchantId>381f42e2-3126-45a5-9df7-5607ceab572a</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>6f31a9c6-59f3-43a8-be09-dbb4ec4edfa5</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>