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": "QiWk3OmVF0mqdP5PsHN1GQ==",
"pluGuid": "dca42542-95e9-4917-aa74-fe4fb0737519",
"fuelPluG_UID": "YD6nQgAck0+9CUlgxP5Iaw==",
"fuelPluGuid": "42a73e60-1c00-4f93-bd09-4960c4fe486b",
"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>YD6nQgAck0+9CUlgxP5Iaw==</FuelPluG_UID> <FuelPluGuid>42a73e60-1c00-4f93-bd09-4960c4fe486b</FuelPluGuid> <FuelProductBarcode>sample string 7</FuelProductBarcode> <FuelProductDescription>sample string 6</FuelProductDescription> <FuelProductPrice>8</FuelProductPrice> <PluG_UID>QiWk3OmVF0mqdP5PsHN1GQ==</PluG_UID> <PluGuid>dca42542-95e9-4917-aa74-fe4fb0737519</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.