I have a project specification that requires that I do the following on user account creation:
- Prevent the user from having access to any telephony features
- Silence the automated email that is sent out by the API when an account is created.
I have been scouring the XML Schema reference and cannot seem to find anything that identifies which element/attribute would allow me to accomplish the above.
Any insights would be greatly appreciated.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CreateUser will not automatically send a welcome email to a newly created host if the sendWelcome flag is set to FALSE.
and the telephonySupport flag set to NONE will prevent the user from having any telephony features.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks Ryan. I had seen those attributes in the XML schema documentation and tried them. Maybe we didnt next the attributes correctly. I will give this another whirl.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We are doing exactly that. Here is what we add to our XML body content to accomplish this:
<privilege>
<teleConfCallOut>FALSE</teleConfCallOut>
<teleConfCallIn>FALSE</teleConfCallIn>
<teleConfTollFreeCallIn>FALSE</teleConfTollFreeCallIn>
<teleConfCallOutInternational>FALSE</teleConfCallOutInternational>
<teleConfCallInInternational>FALSE</teleConfCallInInternational>
<otherTelephony>FALSE</otherTelephony>
</privilege>
<sendWelcome>FALSE</sendWelcome>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks Matt! Appreciate the code sample. Plan to test this out today.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No problem! Let me know if you have any questions. It's been reliable for us. I should specify that we are creating all of our accounts via API, if that makes any difference.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.