POST api/product/{id}/fuels
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
ProductFuel| Name | Description | Type | Additional information |
|---|---|---|---|
| PluG_UID | Collection of byte |
None. |
|
| PluGuid |
Product identifier - the product used to calculate my offset |
globally unique identifier |
None. |
| FuelPluG_UID | Collection of byte |
None. |
|
| FuelPluGuid |
FuelPluGuid identifier - The base product |
globally unique identifier |
None. |
| Price |
Additional cents to add to to the fuel product compared to the base product |
integer |
None. |
| ProductDescription | string |
Relation. This field may not always be loaded or used for updates. |
|
| ProductBarcode | string |
Relation. This field may not always be loaded or used for updates. |
|
| FuelProductDescription | string |
Relation. This field may not always be loaded or used for updates. |
|
| FuelProductBarcode | string |
Relation. This field may not always be loaded or used for updates. |
|
| FuelProductPrice | integer |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"pluG_UID": "kSJLI56Gt0iBCIaAn7cRBA==",
"pluGuid": "234b2291-869e-48b7-8108-86809fb71104",
"fuelPluG_UID": "9Xb2Ok55e0q207LGsC4ekg==",
"fuelPluGuid": "3af676f5-794e-4a7b-b6d3-b2c6b02e1e92",
"price": 3,
"productDescription": "sample string 4",
"productBarcode": "sample string 5",
"fuelProductDescription": "sample string 6",
"fuelProductBarcode": "sample string 7",
"fuelProductPrice": 8
}
application/xml, text/xml
Sample:
<ProductFuel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <FuelPluG_UID>9Xb2Ok55e0q207LGsC4ekg==</FuelPluG_UID> <FuelPluGuid>3af676f5-794e-4a7b-b6d3-b2c6b02e1e92</FuelPluGuid> <FuelProductBarcode>sample string 7</FuelProductBarcode> <FuelProductDescription>sample string 6</FuelProductDescription> <FuelProductPrice>8</FuelProductPrice> <PluG_UID>kSJLI56Gt0iBCIaAn7cRBA==</PluG_UID> <PluGuid>234b2291-869e-48b7-8108-86809fb71104</PluGuid> <Price>3</Price> <ProductBarcode>sample string 5</ProductBarcode> <ProductDescription>sample string 4</ProductDescription> </ProductFuel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.