Is there any API in CMX to get connected,detected and total devices based on access point (apMacAddress).
I have tried below API but this reset API with apMacAddress is not working. It is returning all.
Please see this discussion Getting Active Client Count Per AP.
For example using the CMX 10 Location sandbox, first find the floorRefId value. Use the resource GET https://cmxlocationsandbox.cisco.com/api/config/v1/maps/info/DevNetCampus/DevNetBuilding/DevNetZone
returns "aesUid":723413320329068590 for DevNetZone.
where Unix POSIX or epoch time in milliseconds is used for today. This returns clients by macAddress, connected by apMacAddress, detected by apList, etc. Total connect per AP would require a count of connected by apMacAddress.
Let us know if that works,
You have mentioned time in milliseconds "1503937894731" in above rest call. Is it UTC time or CMX server local time?
Will convert to UTC time.
Unix time (also known as POSIX time or epoch time) is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday,1 January 1970, minus the number of leap seconds that have taken place since then.