AnsweredAssumed Answered

CMX10 how to use MapHierarchy in Location API

Question asked by ismailiman1 on Feb 4, 2016
Latest reply on Apr 7, 2016 by matfarre

Dear all,

 

I am new in using CiscoAPI so pardon my limitations.

in MSE8 (or older CMX) i used to use this API

/api/contextaware/v1/location/clients/count?mapHierarchy=DevNetCampus

and it will give me "count": 51, the count just for that particular mapHierarchy

 

Migrating to CMX10, I tried to use

/api/location/v2/clients/count?mapInfo=DevNetCampus

But they seem to ignore the mapHierarchy and giving me "count": 80

As if I am calling /api/location/v2/clients/count only.

 

How can i maintain this functionality of getting count for particular mapHierarchy?

 

Please kindly teach me.

Many thanks in advance

Cheers

Outcomes