04-11-2022 01:18 PM
I'm doing a REST GET on Unity 11.5 with:
GET https://{ip address}/vmrest/users
This gives me all 8000 users and every field for each user. I have shortened the number of users returned with:
GET https://{ip address}/vmrest/users?rowsPerPage=100&pageNumber=1
Next I'd like to reduce the fields to just the 8 that I need. I'm testing with SoapUI with the following:
GET https://{ip address}/vmrest/users?fields=OjbectId,Alias&rowsPerPage=100&pageNumber=1
however, I get the same result - still all the fields.
Is there a way to do this on Unity? Thanks so much.
Mark
Solved! Go to Solution.
04-14-2022 10:22 AM
As far as I know, the REST API does not support restricting results by specific fields.
It should be possible to do more specific things by accessing the Unity database and doing SQL stuff, which is semi-supported...lots of resources (some out of date) here: www.ciscounitytools.com
04-14-2022 10:22 AM
As far as I know, the REST API does not support restricting results by specific fields.
It should be possible to do more specific things by accessing the Unity database and doing SQL stuff, which is semi-supported...lots of resources (some out of date) here: www.ciscounitytools.com
05-04-2022 01:04 PM
What fields were you looking to display on exactly?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: