Cisco Unified Presence APIs Developer Forums

« Back to SOAP API

Retrieving User Contacts and Groups

Combination View Flat View Tree View
Threads [ Previous | Next ]
I'm trying to retrieve individual user contact lists through the SOAP get-all-config request.  On testing however, I'm only getting 11 of my 35 contacts. In addition, it doesn't seem to be returning any group information either.
 
Does anyone know why this might be, or if there is a simpler way of retrieving contacts and the group the contact is in?
 
It can be retrieved from the user page under cupuser/contactsFindList.do, but of course that doesn't let me do it programmatically.
 
Thanks in advance for any assistance anyone can provide.
 
Kind regards,
Darren.

Hi Darren,

I suppose you are calling getContactList within GetAllConfig? What version of CUP are you using?

getContactList has been deprecated in 8.0 version of SOAP interface. Only a subset of contact management features are retained in 8.0 version of SOAP API. Although you will have the older SOAP version (7.x) supported till 9.0, it will be deprecated from 9.5.

Did you try using the CAXL interface, those are the ones you should try moving to.

Jose

Hi Jose,

Thanks for the response. Yes, you're right, I am doing a get-all-config. Not sure about the getContactList though, I guess that's to do with my CUP version...

CUP is version 8.5.

XML request is:

1     <get-all-config>
2           <system-config/>
3           <user-config/>
4           <federated-domains auth-policy="all"/>
5           <non-presence-aware-contacts/>
6           <contact-info/>
7           <include-contact-list/>
8       </get-all-config>");




I did take a brief look at CAXL, but the documentation isn't very comprehensive, and I've struggled to get that working in the short time I've looked at it.

Would that allow me to get a user's contact list? I used SOAP mainly because I'd used it in the past, it's simple, and it was quick to get up and running without any CORS issues and setting up proxy servers etc.. etc..

Thanks once again,
Darren.

Hi Darren,
Yes CAXL will allow you to do all roster management.

What SOAP version you are invoking? Get-Contact-list API will work only on the 1 version of SOAP interface ie https://hostname/EPASSoap/service/v70.

Regards,
Jose