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": "afd771c4-e4c5-4b1a-90f4-158b3519d515", "MerchantId": "098a0769-b0e0-4096-959b-4b7c259732e1", "MerchantName": "sample string 3", "SiteId": "bfb20253-e78b-42c9-a931-dc133e5c9d0b", "SiteShortName": "sample string 5", "FuelsMasterId": "41e7ed93-46f7-4f39-b627-173f156dce3b", "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>41e7ed93-46f7-4f39-b627-173f156dce3b</FuelsMasterId> <Id>afd771c4-e4c5-4b1a-90f4-158b3519d515</Id> <MerchantId>098a0769-b0e0-4096-959b-4b7c259732e1</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>bfb20253-e78b-42c9-a931-dc133e5c9d0b</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": "ddcc814e-6e31-45b5-a64a-18bb07c54915", "MerchantId": "b673417e-dd40-4c10-a35e-e92d0ceed2c6", "MerchantName": "sample string 3", "SiteId": "db43a866-d3c1-4b18-acf3-fa290dc525b7", "SiteShortName": "sample string 5", "FuelsMasterId": "f761339b-a962-4f34-8214-9fe704f11fce", "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>f761339b-a962-4f34-8214-9fe704f11fce</FuelsMasterId> <Id>ddcc814e-6e31-45b5-a64a-18bb07c54915</Id> <MerchantId>b673417e-dd40-4c10-a35e-e92d0ceed2c6</MerchantId> <MerchantName>sample string 3</MerchantName> <SiteId>db43a866-d3c1-4b18-acf3-fa290dc525b7</SiteId> <SiteShortName>sample string 5</SiteShortName> </FuelDto>