CUC Forums

« Back to CUPI Questions

How to get dtmfAccessId?

Combination View Flat View Tree View
Threads [ Previous | Next ]
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!
 

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

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

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

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.

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.
>