Hi All,
I'm trying to import users from LDAP using REST and assign them an admin template.
I get the following error on this URL: https://10.10.10.10:8443/vmrest/import/globalusers/ldap?templateAlias=administratortemplate
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>DATA_EXCEPTION</code><message>Object not found or is not a template: Parameter = [pTemplateObjectId], Table = [tbl_Alias,tbl_User], Column = [Alias,ObjectId]</message></errors></ErrorDetails>
When I looked into the User Template URL: https://10.10.10.10:8443/vmrest/usertemplates/
I was surprised to see only the user template. The admin template is not in the list.
<UserTemplates total="1">
<UserTemplate><URI>/vmrest/usertemplates/5257c151-6d62-4122-b905-c1f9155fabf4
</URI>
<ObjectId>5257c151-6d62-4122-b905-c1f9155fabf4</ObjectId>
<UseDefaultLanguage>true</UseDefaultLanguage>
<UseDefaultTimeZone>true</UseDefaultTimeZone>
<Alias>voicemailusertemplate</Alias>
<DisplayName>Voice Mail User Template</DisplayName>
<TimeZone>100251</TimeZone>
<CreationTime>2014-03-20T09:57:56Z</Cr.... <Output Truncated>
Can anyone please suggest?