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": "AkN1uFODxkOqodi3PbuNHA==",
"pluGuid": "b8754302-8353-43c6-aaa1-d8b73dbb8d1c",
"campaignName": "sample string 1",
"storeID": 2,
"fuelItem": true,
"changed": true,
"price": 1,
"operatorG_UID": "+iMLsCTPJ02UEndRxAaBEQ==",
"operatorGuid": "b00b23fa-cf24-4d27-9412-7751c4068111",
"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>+iMLsCTPJ02UEndRxAaBEQ==</OperatorG_UID>
<OperatorGuid>b00b23fa-cf24-4d27-9412-7751c4068111</OperatorGuid>
<PluG_UId>AkN1uFODxkOqodi3PbuNHA==</PluG_UId>
<PluGuid>b8754302-8353-43c6-aaa1-d8b73dbb8d1c</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>+iMLsCTPJ02UEndRxAaBEQ==</OperatorG_UID>
<OperatorGuid>b00b23fa-cf24-4d27-9412-7751c4068111</OperatorGuid>
<PluG_UId>AkN1uFODxkOqodi3PbuNHA==</PluG_UId>
<PluGuid>b8754302-8353-43c6-aaa1-d8b73dbb8d1c</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.