on 01-24-2014 04:29 PM
Hey all, if you are still didn't get the way to add users to Unity (CUP): Follow below steps
Its been 2 years, no proper solution to this post. Anyways, my answers might help others.
Steps involves:
1. Download SOAP UI {Understand how to use it by watching few videos, there are various other Http Clients like Postman too. You can choose based on your comfort level.}
2. Create User Template before creating an User
3. Create User with the help User Template created in the above step
Creating User Template:
https://<Connection-ip>/vmrest/usertemplates?templateAlias=voicemailusertemplate
<UserTemplate>
<Alias>SapTemplate</Alias>
<DisplayName>Saptharsh Template</DisplayName>
</UserTemplate>
you will receive the user template object id. You can view this template by hitting a GET : https://<Connection-ip>/vmrest/usertemplates
Now create User
https://<Connection-ip>/vmrest/users?templateAlias=SapTemplate
<User>
<Alias>SapHegde</Alias>
<DtmfAccessId >123422</DtmfAccessId >
</User>
The response would User Object-Id, /vmrest/users/050dbd89-5bb8-4bd7-987f-e322c0c8c991
Now make a search in Cisco Unity Administration, Using "Alias" containing "SapHegde."
Hi Saptharsh,
I am trying to consume https://10.221.xx.XXX/vmrest/users?templateAlias=ATC_Office
Rest API and pass <Alias>ATC_office</Alias><DtmfAccessId>12345</DtmfAccessId>
But I getting below error
Method failed: (/vmrest/users) with code: 500
Kindly assist
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: