POST api/product/{id}/fuel/{guid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| guid | 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": "4ttYk9y8t0mb2FGikP7ujg==",
"pluGuid": "9358dbe2-bcdc-49b7-9bd8-51a290feee8e",
"fuelPluG_UID": "wZkPFO+Z+U2bHWrMg88ZWg==",
"fuelPluGuid": "140f99c1-99ef-4df9-9b1d-6acc83cf195a",
"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>wZkPFO+Z+U2bHWrMg88ZWg==</FuelPluG_UID> <FuelPluGuid>140f99c1-99ef-4df9-9b1d-6acc83cf195a</FuelPluGuid> <FuelProductBarcode>sample string 7</FuelProductBarcode> <FuelProductDescription>sample string 6</FuelProductDescription> <FuelProductPrice>8</FuelProductPrice> <PluG_UID>4ttYk9y8t0mb2FGikP7ujg==</PluG_UID> <PluGuid>9358dbe2-bcdc-49b7-9bd8-51a290feee8e</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.