Akanksha Agarwal | Hi Ryan,
Yes, it is allowed to create a user template via REST APIs.
You need to do the following for achieving this:
POST: https://<Connection-ip>/vmrest/usertemplates?templateAlias=<template>
Where template for a voice mail user would be "voicemailusertemplate", so the request would become
https://<Connection-ip>/vmrest/usertemplates?templateAlias=voicemailusertemplate
And in the request xml body you can give:
<UserTemplate> <Alias>AkkiTemplate</Alias> <DisplayName>Akanksha Template</DisplayName> </UserTemplate>
As a response, you will receive the user template object id. You can view this template by hitting a GET : https://<Connection-ip>/vmrest/usertemplates
Let me know if you have any other question.
Thanks & Regards, Akanksha A |
| Please sign in to flag this as inappropriate. |