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": "f9fa4d9c-3680-4175-a29f-25306e54e7d2",
"MerchantId": "6cd10d3b-de9a-436b-940c-48544972c3e4",
"MerchantName": "sample string 3",
"SiteId": "13b46a4c-2d69-4eb0-b339-3528c89737b8",
"SiteShortName": "sample string 5",
"FuelsMasterId": "a6e589c8-e9d0-4e26-a73a-342da3d09e64",
"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>a6e589c8-e9d0-4e26-a73a-342da3d09e64</FuelsMasterId> <Id>f9fa4d9c-3680-4175-a29f-25306e54e7d2</Id> <MerchantId>6cd10d3b-de9a-436b-940c-48544972c3e4</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>13b46a4c-2d69-4eb0-b339-3528c89737b8</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": "dfe23a38-f335-474a-8394-bdf5dae97ed1",
"MerchantId": "988668c9-fe0d-4cfa-b095-8c75f19c9e24",
"MerchantName": "sample string 3",
"SiteId": "a349ae21-6b13-461b-8f4b-6d4d10fea2d3",
"SiteShortName": "sample string 5",
"FuelsMasterId": "c39a1df9-cd5f-4ba2-a82a-513f44e04f9c",
"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>c39a1df9-cd5f-4ba2-a82a-513f44e04f9c</FuelsMasterId> <Id>dfe23a38-f335-474a-8394-bdf5dae97ed1</Id> <MerchantId>988668c9-fe0d-4cfa-b095-8c75f19c9e24</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>a349ae21-6b13-461b-8f4b-6d4d10fea2d3</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>