cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
532
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Roland Russwurm on 12-09-2012 10:40:11 AM
Hi All,

I'm quite new to CUPI rest interface, and I cannot find the way how i can get "dtmfAccessId" value of an ImportUser syncronized from LDAP?
 
GET vmrest/import/users/ldap returns olny:

<ImportUser>
  <alias>rrusswurm</alias>
  <firstName>Roland</firstName>
  <lastName>Russwurm</lastName>
  <pkid>5b02443b-d663-4224-81f2-a6d9b29bfa0d</pkid>
</ImportUser>
 
How can I retrive <dtmfAccessId> value? (i can see it on the gui)
 
Thanks in advance!
 

Subject: RE: How to get dtmfAccessId?
Replied by: Ting-Hao Chen on 12-09-2012 02:41:25 PM
Roland,
Have you tried this?
vmrest/users/5b02443b-d663-4224-81f2-a6d9b29bfa0d
You can also update dtmfAccessID using PUT
For more info, please check on CUPI document

Hope this help
Howard

Subject: RE: How to get dtmfAccessId?
Replied by: Sascha Monteiro on 13-09-2012 03:58:00 AM
a user that is not imported yet does not have a dtmfaccessid yet, that will be assigned during the import..
what you see in the gui is the telephoneNumber field copied to extension.
you might want to connect to ldap directly and retrieve the user's details

Subject: Re: New Message from Roland Russwurm in Cisco Unity Connection(CUC) - CUPI
Replied by: Sascha Monteiro on 13-09-2012 04:50:16 AM
I don't believe you can
http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_User_Import#GET_a_List_of_Users_That_Can_Be_Imported

On Thu, Sep 13, 2012 at 8:21 PM, Cisco Developer Community Forums <
cdicuser@developer.cisco.com> wrote:

> Roland Russwurm has created a new message in the forum "CUPI Questions":
>
> --------------------------------------------------------------
> Can I get this telephoneNumber via REST somehow?
>
> Retrieving directly from LDAP may be possible, but since it is already
> synced from ldap, phone number is already in the unity database, I would
> prefer use that value.
>
> --
> To respond to this post, please click the following link:
>
> <
> http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/6489027
> >
>
>
> or simply reply to this email.
>

Subject: RE: How to get dtmfAccessId?
Replied by: Roland Russwurm on 13-09-2012 03:37:58 AM
Hi Howard,
I would like to get this value of an ImportUser (not User).
If you have an LDAP configuration in Unity and you go to Users->ImportUsers you will see a list of users that can be imported. You will also see an Extension column there synced from LDAP (thats what I'm looking for).
You can get the same result with GET vmrest/import/users/ldap, but it not includes dtmfAccessId.
Roland

Subject: RE: How to get dtmfAccessId?
Replied by: Roland Russwurm on 13-09-2012 04:21:57 AM
Can I get this telephoneNumber via REST somehow?

Retrieving directly from LDAP may be possible, but since it is already synced from ldap, phone number is already in the unity database, I would prefer use that value.
Getting Started

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:

Quick Links