Forums

« Back to SOAP API

RE: CUP SOAP API external contacts management

Combination View Flat View Tree View
Threads [ Previous | Next ]
I have question regarding CUP contact
management.
There are methods for managing contacts
(add, modify, remove), but these methods are relevant only for domain contacts,
or presence-aware contacts.
But in the CUPC interface there is also
possibility to create and manage external contacts. I found also
getnonpresenceawarecontacts method, which I believe returns such external
contacts, but I cannot find methods for creating and managing such contacts. Is
there possibility to do it using this API? There should be probably way how to
do it, since a assume that CUPC uses tha same API for contact management.

Hi Martin,
You could use a combination of the following APIs

addContact
modifyContactInfo
set-contact-nickname

Hi Jose,

thank you for your answer.
So addContact method can be used also for adding external, no presence-aware contacts?
I am asking because in the API documentetion, there is example of addContact request / response, and there is for example something like that:

request:

<add-contact>
<group name="work">
<persona-id index="200" display-on-phone="false" nickname="user2nickname">soapuser2</persona-id>
<persona-id>nonexisting</persona-id>
</group>
</add-contact>

response:
<epas:status persona-id="soapuser2" group="work" index="200" nickname="user2 nickname" display-on-phone="false">succeeded</epas:status>
<epas:status persona-id="nonexisting" group="work">Contact does not exist in.</epas:status>

So for soapuser2 there is "succeeded"in the response while for "nonexisting" there is "Contact does not exist in.".
For me it seems like "soupuser2" is presence-aware contact which is just added to contacts on my CUPC, while "nonexisting" is example of external or non-presence-aware-contact which I cannot add.

Many thanks for your answer.

Martin

HI Martin,
Sorry for not replying back. I want active in the forum.

But did you get what you were looking for? If not pls let me know & I can help.

Thanks,
Jose

Typo - want active in the forum -> wasn't active in the forum

Collateral


No files available