POST api/store/{storeID}/campaign/{name}/plu/{guid}/reject
Reject a single price change
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| storeID |
Store Identifier |
integer |
Required |
| name |
Campaign name |
string |
Required |
| guid |
Product identifier |
globally unique identifier |
Required |
Body Parameters
Reject record
CampaignPluStoreReject| Name | Description | Type | Additional information |
|---|---|---|---|
| PluG_UId | Collection of byte |
None. |
|
| PluGuid | globally unique identifier |
None. |
|
| CampaignName | string |
None. |
|
| StoreID | integer |
None. |
|
| FuelItem |
If the price change being rejected is for a fuel item |
boolean |
None. |
| Changed |
If true, price was changed to a different value |
boolean |
None. |
| Price |
The changed price |
integer |
None. |
| OperatorG_UID | Collection of byte |
None. |
|
| OperatorGuid |
Operator that change price |
globally unique identifier |
None. |
| User |
Logged-in user that has rejected or changed the price |
string |
None. |
| Message |
A message from the user adding context for the reasons for fuel price alteration from scheduled |
string |
None. |
| ProductDescription | string |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{
"pluG_UId": "t1+6rzPn7UWFjtHrv905+A==",
"pluGuid": "afba5fb7-e733-45ed-858e-d1ebbfdd39f8",
"campaignName": "sample string 1",
"storeID": 2,
"fuelItem": true,
"changed": true,
"price": 1,
"operatorG_UID": "gQ36OHArNEW4FO2tnTknpQ==",
"operatorGuid": "38fa0d81-2b70-4534-b814-edad9d3927a5",
"user": "sample string 5",
"message": "sample string 6",
"productDescription": "sample string 7"
}
application/xml, text/xml
Sample:
<CampaignPluStoreReject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Campaigns"> <CampaignName>sample string 1</CampaignName> <Changed>true</Changed> <FuelItem>true</FuelItem> <Message>sample string 6</Message> <OperatorG_UID>gQ36OHArNEW4FO2tnTknpQ==</OperatorG_UID> <OperatorGuid>38fa0d81-2b70-4534-b814-edad9d3927a5</OperatorGuid> <PluG_UId>t1+6rzPn7UWFjtHrv905+A==</PluG_UId> <PluGuid>afba5fb7-e733-45ed-858e-d1ebbfdd39f8</PluGuid> <Price>1</Price> <ProductDescription>sample string 7</ProductDescription> <StoreID>2</StoreID> <User>sample string 5</User> </CampaignPluStoreReject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.