Using CUPI for creating users without mailbox

Version 1
    This document was generated from CDN thread

    Created by: Shadan Saniepour Esfahani on 13-01-2010 09:04:05 PM
    Greetings 

    I am trying to use CUPI to provision  users without mailbox on CUC.  When I use the sample on the CUPI page, users are always created with mailbox. How can I create users without mailbox. I went through all elements defined for user in resource definition page, but could not figure out which one would help create user without mailbox.
     
     Really appreciate your help!
    Best regards
    Shadan

    Subject: RE: Using CUPI for creating users without mailbox
    Replied by: David Wanagel on 13-01-2010 09:50:00 PM
    <!--StartFragment-->You would need to use the administratortemplate instead of the voicemailusertemplate.  
    <!--EndFragment-->

    Subject: RE: Using CUPI for creating users without mailbox
    Replied by: Shadan Saniepour Esfahani on 14-01-2010 03:43:32 PM
    Thanks David. But I used the administratortemplate and I get the following error:


    Failure runHTTPCommandPost (execute)java.io.IOException: Server returned HTTP response code: 400 for URL: https://10.88.147.247/vmrest/users?templateAlias=administratortemplate

    Is there anything else I am doing wrong? I am only using Alias and FirstName, LastName elements. Your help is much appreciated!
    Best regards
    Shadan


    Subject: RE: Using CUPI for creating users without mailbox
    Replied by: David Wanagel on 14-01-2010 04:56:25 PM
    My fault, I responded without taking a closer look.  CUPI can only be used to manage voice mail users (i.e. users with a voice mailbox).  It does not support administrator management.
     
    -Dave

    Subject: RE: New Message from Shadan Saniepour Esfahani in Cisco Unity Connection Pr
    Replied by: Matthew Penning on 14-01-2010 05:17:29 PM
    Hi Shadan, at this point I don't think we do support non-voicemail users
    - the URL /vmrest/users will list only voicemail users. The reason is we
    focused the API initially primarily on the more common ongoing
    adminsitrative tasks, and generally creating administrative users isn't
    done as frequently.

    ~ Matt

    ________________________________

    From: Cisco Developer Community Forums
    [mailto:cdicuser@developer.cisco.com]
    Sent: Thursday, January 14, 2010 7:44 AM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Shadan Saniepour Esfahani in Cisco Unity
    Connection Provisioning Interface (CUPI) - CUPI Questions: RE: Using
    CUPI for creating users without mailbox


    Shadan Saniepour Esfahani has created a new message in the forum "CUPI
    Questions":
    --------------------------------------------------------------
    Thanks David. But I used the administratortemplate and I get the
    following error:


    Failure runHTTPCommandPost (execute)java.io.IOException: Server returned
    HTTP response code: 400 for URL:
    https://10.88.147.247/vmrest/users?templateAlias=administratortemplate]

    Is there anything else I am doing wrong? I am only using Alias and
    FirstName, LastName elements. Your help is much appreciated!
    Best regards
    Shadan

    --
    To respond to this post, please click the following link:
    <http://developer.cisco.com/web/cupi/forums/-/message_boards/message/189
    6760>
    or simply reply to this email.