POST api/store/{storeID}/campaign/plu/reject
Reject price changes
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| storeID |
Store Identifier |
integer |
Required |
Body Parameters
List of reject records
Collection of 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:
[
{
"$id": "1",
"pluG_UId": "ncN/89nIGUKusio1qFS1rA==",
"pluGuid": "f37fc39d-c8d9-4219-aeb2-2a35a854b5ac",
"campaignName": "sample string 1",
"storeID": 2,
"fuelItem": true,
"changed": true,
"price": 1,
"operatorG_UID": "D/X5zRrizk2sIwU3RqJs5A==",
"operatorGuid": "cdf9f50f-e21a-4dce-ac23-053746a26ce4",
"user": "sample string 5",
"message": "sample string 6",
"productDescription": "sample string 7"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfCampaignPluStoreReject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Campaigns">
<CampaignPluStoreReject>
<CampaignName>sample string 1</CampaignName>
<Changed>true</Changed>
<FuelItem>true</FuelItem>
<Message>sample string 6</Message>
<OperatorG_UID>D/X5zRrizk2sIwU3RqJs5A==</OperatorG_UID>
<OperatorGuid>cdf9f50f-e21a-4dce-ac23-053746a26ce4</OperatorGuid>
<PluG_UId>ncN/89nIGUKusio1qFS1rA==</PluG_UId>
<PluGuid>f37fc39d-c8d9-4219-aeb2-2a35a854b5ac</PluGuid>
<Price>1</Price>
<ProductDescription>sample string 7</ProductDescription>
<StoreID>2</StoreID>
<User>sample string 5</User>
</CampaignPluStoreReject>
<CampaignPluStoreReject>
<CampaignName>sample string 1</CampaignName>
<Changed>true</Changed>
<FuelItem>true</FuelItem>
<Message>sample string 6</Message>
<OperatorG_UID>D/X5zRrizk2sIwU3RqJs5A==</OperatorG_UID>
<OperatorGuid>cdf9f50f-e21a-4dce-ac23-053746a26ce4</OperatorGuid>
<PluG_UId>ncN/89nIGUKusio1qFS1rA==</PluG_UId>
<PluGuid>f37fc39d-c8d9-4219-aeb2-2a35a854b5ac</PluGuid>
<Price>1</Price>
<ProductDescription>sample string 7</ProductDescription>
<StoreID>2</StoreID>
<User>sample string 5</User>
</CampaignPluStoreReject>
</ArrayOfCampaignPluStoreReject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.