1. Setup below master data setup per store

Setup is done is the "Master Data Setup" table, with the Type being "FootfallCam".

Setup the following values (all Keys are small letters)

  1. email: the login email in the value
  2. password: the login password in the value
  3. 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:


  • No labels