- Setup
...
- below master data setup per store
Setup is done is the "Master Data Setup" table, with the Type being "FootfallCam".
...
- email: the login email in the value
- password: the login password in the value
- query: the query for the api call in the "BlobValue". Changing filters can be done here without any code change.
Query for store: Change the BranchCode: Sxxx
{"query":{"measures":["sitearea_footfallcounting_hour.FC01_1_SUM","sitearea_footfallcounting_hour.FC02_1_SUM","sitearea_footfallcounting_hour.FC03_1_SUM"],"timeDimensions":[{"dimension":"sitearea_footfallcounting_hour.Time","granularity":"hour"}],"order":[],"filters":[{"member":"sitearea_footfallcounting_hour.CompanyId","operator":"equals","values":["18715"]},{"member":"sitearea_footfallcounting_hour.BranchCode","operator":"equals","values":["xxx"]},{"member":"sitearea_footfallcounting_hour.AreaId","operator":"equals","values":["-1"]},{"member":"sitearea_footfallcounting_hour.isoperating","operator":"equals","values":["true"]}],"dimensions":["sitearea_footfallcounting_hour.BranchId","sitearea_footfallcounting_hour.BranchName","sitearea_footfallcounting_hour.BranchCode","sitearea_footfallcounting_hour.AreaId","sitearea_footfallcounting_hour.AreaName"],"limit":50000}}
2. Each Store need to create folder in C:\ftp\PeopleCount\Logs
3. Setup Job Queue Entries in Store Server: