I am planning to build an attendance system using cisco CMX cloud REST API's(Presence analytics ).
Basically, I need first login time and last exit time (every day) of all the mobile devices which are connected to WIFI.
I want to build for time attendance application. For that, I need to pull the data from CMX cloud Data(considering all the users connected to wifi).
So I need a CMX API which should return the first login and last exit time of all the users(every day) connected to particular Access point or controller.
So that I can use this API to build the time attendance system.
I want to know all employees entry and exit time in my office like a time attendance system.
(assume all of them connected to wifi of particular site).
I need to know the first entry timestamp (means when a particular mobile device of employee connected to wifi first time for a day ) and last exit timestamp of the day.
I need first login time of the users every day(connect and encage module ).
Currently its giving only first login for whole which means its giving the very first time when the device connected to wifi. But I need first login time every day.
Based on the call with your support team it’s not possible with current api’s.
Please see the CMX Connect API resource
Please, see the https://www.cisco.com/c/en/us/td/docs/wireless/mse/cmxcloud/api/b_cmxcloud_api_reference.html under Connect resource.
Login to Cisco CMX Cloud from Chrome browser, then open another tab and enter https://<tenant_id>.cmxcisco.com/api/connect/v1/clients with various search criteria.
The Presence API returns counts, averages, sums, etc. where the Connect API will return a query of user session data based on criteria such as MAC addresses, last session time, status, and any or all fields. Cisco Connected Mobile Experiences Cloud REST API Guide - Connect [Cisco Connected Mobile Experiences (CMX) Cloud] - Ci…
A custom portal can be used to request registration information from the sign-in page, and can be used as data source for your reports. Information such as Name, Email, Phone, Social Auth is captured.
Here is an example of the Connect API resource.
"agent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/58.0.3029.110 Safari\/537.36",
"operatingSystem": "Intel Mac OS X 10",
"lastLoginTime": "Jun 2, 2017 4:01:08 PM, UTC",
"lastLogoutTime": "Jun 2, 2017 4:01:08 PM, UTC",
"firstLoginTime": "Jun 2, 2017 3:56:17 PM, UTC",
"portal": "CMX Presence",
"lastAcceptTime": "Jun 2, 2017 4:01:08 PM, UTC"
"timeZone": "Coordinated Universal Time",
You can also download a CVS of Visitor Search to get all the fields, such as Social login data.
From Connect & Engage, choose "Export all Visitors".
I understand the issue now, the first login time per session (start to end parameters) is missing.
I will open a CDETS ticket to request this enhancement.
Update: Since CMX Cloud (currently deployed with only Presence Analytics) does not keep historical location data, an additional parameter is proposed dailyLoginTime to use for daily reports. This parameter will be overwritten each day.
GET: Query User Sessions first login time per day is needed for customer use case.
The /api/connect/v1/clients REST API provides firstLoginTime (historical), lastLoginTime (updated on each login). The first login time per day is needed to determine daily presence at a place or event.
The Connect API is the appropriate resource to use to pull employees/students entry and exit time from office/classroom, like a time attendance system. However, this will require a new parameter dailyLoginTime for first login time of each day (occurring every day or every weekday). Currently firstLoginTime is the first time the device is connected. With this new parameter dailyLoginTime the customer can use the Connect API for daily reports of all the mobile devices which are connected to WIFI.
Beside API calls, you can use Prime "session reports" which records data you are after.