aboutsummaryrefslogtreecommitdiffstats
path: root/examples/myfirstpolicy/src/main/resources/examples/events/MyFirstPolicy/2/EventOut_BoozeItem_171937CET_sun.json
blob: cb838b83836ac3813d8673d02bffd4c7f3af19d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "nameSpace" : "com.hyperm",
  "name" : "SALE_AUTH",
  "version" : "0.0.1",
  "source" : "",
  "target" : "",
  "sale_ID" : 99999982,
  "amount" : 2199,
  "assistant_ID" : 94,
  "notes" : "Buy 3, get 1 free!!",
  "quantity" : 12,
  "branch_ID" : 1003,
  "item_ID" : 1443,
  "authorised" : false,
  "time" : 1482077977000,
  "message" : "Sale not authorised by policy task MorningBoozeCheckAlt1 for time 17:19:37 CET. Alcohol can not be sold between 00:00:00 CET and 13:00:00 CET or on Sunday"
}