on 01-24-2014 05:28 PM
I still can't find this API Call to Cisco Unity any clue?
Did you take a look at the LDAP Import resource here: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/REST-API/CUPI_API/b_CUPI-API/b_CUPI-API_chapter_0100000.html?bookSearch=true#concept_0655585DE3A3403EB5F11B8FC7F1AD10 ?
Yes but UC will only import a user already queued up from after the LDAP sync, there seems to be no api function for kicking off an immediate LDAP sync and waiting for the 6 hour periodical sync isn't always practical.
Found a great solution here, https://community.cisco.com/t5/unified-communications/is-it-possible-to-call-a-cisco-unity-ldap-sync-via-the-cupi-or/td-p/2819769
That's one way to do it I guess
Notably not officially supported, but works nonetheless...
I recently have been working on a new automation tool and found the way to do this using the CUPI API. While there is no info in their api guide that I could find, if you look at the WADL there is an available request. An easy way to get the LDAP Configuration objectid is to go to the directoryFindList.do page, then right click on the name of the configuration you want and open it in a new tab. This will list the objectid in the URL.
Send a PUT to {location}/vmrest/ldap/sync/{objectid}.
Winner! I got this to work, server doesn't seem to reply with anything but it starts an ldap sync.
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: