Get/Change User PIn

Version 1
    This document was generated from CDN thread

    Created by: Marwa Ads on 10-02-2011 07:05:11 AM
     Dear All,
     
    I am new to Unity Connection, I want to retrive and change the user's voice mail pin and password.
     
    i am coding in java.. but i couldn't know how to start.
    I downloaded CUPI WADL file and convered the Pin and password services to java..
    i don't know what to do next.
     
    can i use the AXL Requests that is used CUCM operations? How?
     
    Thanks,
    Marwa

    Subject: RE: Get/Change User PIn
    Replied by: Mayank Sharma on 10-02-2011 08:18:10 AM
     Dear All,
     
    I am new to Unity Connection, I want to retrive and change the user's voice mail pin and password.
     
    i am coding in java.. but i couldn't know how to start.
    I downloaded CUPI WADL file and convered the Pin and password services to java..
    i don't know what to do next.
     
    can i use the AXL Requests that is used CUCM operations? How?
     
    Thanks,
    Marwa

     
    You just have to use GET and POST to get user information and post PIN and Password changes. CUPI allows basic queries to search for a user. Please keep in mind that the query support is really basic, and not all fields are indexed, so you cannot use any field to perform a search.
     
    See if this thread helps figure out the query part of it.
    http://developer.cisco.com/web/cupi/forums/-/message_boards/view_message/2940449

    Subject: RE: Get/Change User PIn
    Replied by: Mayank Sharma on 10-02-2011 08:20:25 AM
    And here's official CUPI documentation:
    http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_For_End_Users_--_Directory

    Subject: RE: Get/Change User PIn
    Replied by: Shadan Saniepour Esfahani on 10-02-2011 06:12:36 PM
    Hi Marwa
    This post here might help you as well:
    http://developer.cisco.com/web/cupi/forums/-/message_boards/view_message/2456120

    Best regards
    Shadan

    Subject: RE: Get/Change User PIn
    Replied by: Marwa Ads on 13-02-2011 04:43:59 AM
    Thanks alll for your help,
     
    but how i will wrap this request ... Do any one have example in java code?
     
    Also when i put the following url in the browser http://serveripaddress/vmrest/users
    I receive "The requested resource (/vmrest/users) is not available."
     
    Do there any service should be started in the unity connection to enable the REST web service?
     
    Thanks,
    Marwa
     
     

    Subject: RE: Get/Change User PIn
    Replied by: Shadan Saniepour Esfahani on 15-02-2011 02:57:14 PM
    What Unity Connection version are you using? It should be 7.1.3 or above.
    Best regards
    Shadan