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": "5c23d1ee-029d-49dd-9202-1984dbaf8eb6", "MerchantId": "81147782-1e5c-4f5b-9861-003dbe34e41b", "MerchantName": "sample string 3", "SiteId": "be0ee2dd-fb80-4bad-894d-b9b50848e1d6", "SiteShortName": "sample string 5", "FuelsMasterId": "95b37115-5962-4bcc-96c7-57d431e2b71a", "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>95b37115-5962-4bcc-96c7-57d431e2b71a</FuelsMasterId> <Id>5c23d1ee-029d-49dd-9202-1984dbaf8eb6</Id> <MerchantId>81147782-1e5c-4f5b-9861-003dbe34e41b</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>be0ee2dd-fb80-4bad-894d-b9b50848e1d6</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": "6894f047-b76e-4597-8f6f-116c015f598d", "MerchantId": "ed0a875c-866b-41b4-80aa-4e1ee8b0b8ff", "MerchantName": "sample string 3", "SiteId": "2ec96e54-11d1-4045-8234-7fe5c6368647", "SiteShortName": "sample string 5", "FuelsMasterId": "bec34350-cb52-46ac-b28e-e05547621a06", "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>bec34350-cb52-46ac-b28e-e05547621a06</FuelsMasterId> <Id>6894f047-b76e-4597-8f6f-116c015f598d</Id> <MerchantId>ed0a875c-866b-41b4-80aa-4e1ee8b0b8ff</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>2ec96e54-11d1-4045-8234-7fe5c6368647</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>