08-05-2015 05:20 AM
Hi,
When I list the user templates of a Unity Connection on the GUI, I get 56 answer. The same number of result when I use CUDLI on vw_UserTemplate. But if I use CUPI with https://@IP/vmrest/usertemplates, there are only 53 results...
What can explain this difference between CUPI and GUI ?
Thanks,
Fabien
08-06-2015 02:03 AM
is there anything special about those 3 missing templates? I suspect there's some code that may filter things.. (just as there are other instances where the api acts differently from cuadmin - I just recently had to file another devsup case on such an issue).
08-06-2015 02:24 AM
Hi,
Thank you for the answer. After some investigation, It's seem that user templates filtered by the CUPI request are those using type "User Template Without Mailbox"... How to get all user template using CUPI including the "User Template Without Mailbox"?
Thanks,
Fabien
08-06-2015 02:35 AM
Interesting.. have you tried what happens if you create a new user based on one of the templates you don't get listed? Not that it solves your problem.. but it would show if there's a generic filter of just one in the sql query they run behind the template extraction.
08-06-2015 02:45 AM
You are right. When I create a new user template based on a filtered user template, this new user template is also filtered on CUPI request "/vmrest/usertemplates".
The same thing happen when I create a new user based on a filtered user template, this new user is also filtered on CUPI request "/vmrest/users".
Thanks,
Fabien
10-14-2015 02:04 AM
Does anyone have an idea of how to get all the user templates using CUPI including those based on "User Template Without Mailbox"?
Thanks,
Fabien
11-05-2015 12:45 AM
No answer ? Is it a bug ?
Thanks,
Fabien
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide