In the sandbox env, when I call /api/location/v1/history/clients, I got an http error 500.
Please, seeif this thread answers your questions. Let us know if it persists.
MSE 8.0 supports pagination. Pagination in the resources is done by specifying query Params “page” and “pageSize”. The default pagesize is 5000. When there is more than one page, the nextResourceURI will specify the URI to the next resource. e.g., https://msesandbox.cisco.com/api/contextaware/v1/location/history/clients?page=1&pageSize=10
For MSE 10, the /v1/ API has a max of 2000 records, and does not support pagination. The API to return the history of all clients in CMX is limited to 2000 entries. You can filter this API by time period to get less. e.g.,
For MSE 10, the /v2/ API will be available soon, and has a max of 2000 records per PAGE, you can send pagination requests to get more clients.
The system needs to be able to chuck out the data based either on time (preferred) or pages (v2, more load on system, less preferred). Both V1 and v2 will be maintained.
The BEST method to get MASSIVE data from CMX is to subscribe to notifications that occur whenever we calculate a new location, and to build their own history database through Northbound Notifications.
v2 allows you to get full database.
Here is the CMX REST Documentation for this query
You can use date & fromHour & toHour for date=2017/08/31:
or you can use locatedAfterTime & locatedBeforeTime for date=2017/08/31: