Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
SocialMiner Developer Center
Overview
Documentation
Community
Wiki
Blogs
SocialMiner 9.0(1)
David Lender
20 Jun 2012
SocialMiner 8.5(5)
David Lender
31 Jan 2012
SocialMiner 8.5(4)
David Lender
29 Sep 2011
SocialMiner 8.5(3)
David Lender
23 Aug 2011
SocialMiner 8.5(2)
David Lender
09 Jun 2011
Showing 1 - 5 of 8 results.
Items per Page 5
Page
(Changing the value of this field will reload the page.)
1
2
of 2
First
Previous
Next
Last
Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Technical Discussion
Social Miner Expert Notification via API
Threads [
Previous
|
Next
]
Andrew Fraser
Posts:
4
Join Date:
7/14/08
Recent Posts
Social Miner Expert Notification via API
Answer
11/29/11 4:33 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hello all,
I would like to write an Android App that creates a new Social Contact in Social Miner. This contact would then initiate broadcast XMPP notification by IM to a group of experts, one of whom will log in and own the contact. I then want my Android App to be able to be either:
1) Notified that an expert has taken ownership of this contact.
> Is this possible? If so how?!
2) Regularly poll the SM API to retrieve the extension of the user who has taken ownership of the contact
> Is this possible? Which API call would this be - GET Social Contact? What information about the owner would this pull back?
The Android App will then go on to CTS-Manager from Telepresence to schedule a (one-click) meeting between this Expert and the customer...
All help much appreciated!
Thanks,
Andrew
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Amy Nordberg
Posts:
5
Join Date:
11/29/11
Recent Posts
RE: Social Miner Expert Notification via API
Answer
11/29/11 9:45 PM as a reply to Andrew Fraser.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Andrew,
You must use the Social Contact POST API to create a new Social Contact. The ¿author¿, ¿title¿, and ¿refFeedURL¿ parameters are required for creating a new Social Contact.
Once the Social Contact has been created, there's no mechanism to be notified when the Social Contact's status changes. You'd have to poll the API (Social Contact get), and watch for the <status> changing to 'reserved' and/or 'handled'. The <statusUserID> associated with that <status> change is as close as you'll get to the "Owner", since there is nothing to prevent someone else from later replying to the Social Contact. The user who made the state change on the Social Contact is identified as the <statusUserID>.
Also, you mention "the extension of the user". We're not sure what you mean by that. If you mean the telephone extension, we don't keep users' telephone extensions. The <extensionFields> mentioned in the API doc is for additional, user-defined fields.
Here¿s a link to the SocialMiner Developer¿s Guide for version 8.5(4):
http://developer.cisco.com/documents/2163684/2165688/Cisco+SocialMiner+Developers+Guide+%2c%20Releases+8.5%284%29.pdf?redirect=http%3a%2f%2fdeveloper.cisco.com%2fweb%2fsocialminer%2fdocs%3fp_p_id%3ddoc_library_summary_portlet_WAR_doclibrarysummaryportlet
I hope this helps!
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Andrew Fraser
Posts:
4
Join Date:
7/14/08
Recent Posts
RE: Social Miner Expert Notification via API
Answer
11/29/11 11:56 PM as a reply to Amy Nordberg.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Thanks Amy,
The userid of the contact owner may well be enough to provision the CTS-Manager for the expert's device (e.g. a Cisco EX90). I'll check with that dev forum...
Regards,
Andrew
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Collateral
No files available