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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No answer ? Is it a bug ?
Thanks,
Fabien
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.