GET: Unique MAC Address Seen on a Given Day on a Floor or Zone
This API returns the unique MAC address on a given date on a floor or zone. It expects parameters date and hierarchy. Hierarchy can be up to floor level or zone level. For example, floor level would include: campus-name, building-name, and floor-name. Zone level would be campus-name, building-name, floor-name, and zone-name. If you know the floorid or zone id, then hierarchy is optional and you can specify date and floorid or date and zoneid parameters.
When date parameter is not specified, API would use current date as default. Specifying either of the parameters like hierarchy or floorid or zoneid is mandatory. This API also supports filter by time and filter by distance criterias. For filter by time, use fromHour and toHour (both in 24 hr format) parameters. For filter by distance queries, using filter by time is mandatory and supported toHour/fromHour difference is 1 hr only to filter out relevant data.
For examples:
By hierarchy and current date: /api/location/v1/history/uniqueclientsbyhierarchy?hierarchy=System%20Campus/Floor-19/1st%20Floor/Zone.
By zoneid and date:/api/location/v1/history/uniqueclientsbyhierarchy?zoneid=23 and date=2016/02/29. By hierarchy and filter by time: /api/location/v1/history/uniqueclientsbyhierarchy?hierarchy=System%20Campus/BGLD-19/1st%20Floor and fromHour=13 and toHour=14.
Comments
0 comments
Please sign in to leave a comment.