POST Fuels
Creates a new fuel.
Request Information
URI Parameters
None.
Body Parameters
The data of the fuel.
FuelDtoName | 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": "30bc3ea7-579f-49df-a9a3-316ac0d56135", "MerchantId": "f348b6bc-9b7b-4c1f-8987-e702fd082f19", "MerchantName": "sample string 3", "SiteId": "f9226364-a8e1-40a4-ab0d-1d7f427eed8c", "SiteShortName": "sample string 5", "FuelsMasterId": "c6964645-0629-4d70-a40d-076b3f39229a", "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>c6964645-0629-4d70-a40d-076b3f39229a</FuelsMasterId> <Id>30bc3ea7-579f-49df-a9a3-316ac0d56135</Id> <MerchantId>f348b6bc-9b7b-4c1f-8987-e702fd082f19</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>f9226364-a8e1-40a4-ab0d-1d7f427eed8c</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.
FuelDtoName | 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": "bc8fa201-8fc6-4587-b746-e7138ae156a8", "MerchantId": "b3e1be04-d8fd-4128-abcc-3a1b1ed89d0e", "MerchantName": "sample string 3", "SiteId": "f7f1a1de-a35c-46f1-b162-a0d2892bbe02", "SiteShortName": "sample string 5", "FuelsMasterId": "663e5222-397b-4fc5-bf10-b98d359806b2", "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>663e5222-397b-4fc5-bf10-b98d359806b2</FuelsMasterId> <Id>bc8fa201-8fc6-4587-b746-e7138ae156a8</Id> <MerchantId>b3e1be04-d8fd-4128-abcc-3a1b1ed89d0e</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>f7f1a1de-a35c-46f1-b162-a0d2892bbe02</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>