cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1499
Views
0
Helpful
7
Replies

Social Miner API's

Roy_11
Beginner
Beginner

Hi Experts ,

 

So Actually we are trying to integrated third party application in finesse through task routing api concepts so for this i know Social Miner is required,  Need to call these Api's GetAPI(Feed ID), then Get API(Create Task ) and Get(Status), to use this which  lib we could use in Social Miner , is readymade lib will there?

Can anyone help us on this

Thanks in advance !!

Thanks!!

Royy

1 Accepted Solution

Accepted Solutions

You could do a few different things with it: 

  • Use it as a code sample
  • Use it pretty much as it is in the mode of reading JSON data from an HTTP server, mapping the fields into the TR request.
  • Modify the input side as required to integrate the third party application of interest, depending on how it can make requests.
  • Expose the JSON request processing part as a method and build it into your application as a Java library.

It all really depends on your solution architecture/topology and components involved.  The sample is the way it is currently because it was built to handle event information sent to webhooks from multiple requesting sources originating in the public internet (SMS providers, IoT events etc) but using an internal lab-based CCE behind a firewall.  That's why the version posted makes outgoing HTTP requests to a cloud message queue to pull its requests.  The request input side should be modified to match your particular third-party application.  How you actually do that will depend on the integration options it provides and could be message based or directly invoked code.

View solution in original post

7 Replies 7

david.macias
VIP Advocate VIP Advocate
VIP Advocate

There isn't a library already made specifically for SocialMiner API, but anything can talk to it. Node, Python, etc. You can even send tasks to SocialMiner via Postman if you wanted to test the flow. Ultimately, you will have to build the infrastructure to communicate to SM and your 3rd party application.

 

david

Roy_11
Beginner
Beginner

David ,

 

thank you so once we setup the  MR PG and SM in UCCE then we are good to go correct? no need any other configuration for  SM right? 

 

We are planning to call SM apis from 3rd party Application once agent connected we would do the our process.

 

please add it if anything I missed here .

 

thanks for keep supporting 

There's a Java sample here that might be of use.  It takes a JSON format message and pushes it into the SM Task Routing API.  It also optionally accessed the now defunct Context Service to lookup customer data and log a task request but that bit can easily be excised.

 

https://github.com/paultindall/cisco-cce-task-routing

 

 

Hello ,

 

So this Java code can access from third party application to SM right ? 

 

 

Thanks in advance 

To your question about once you setup the MR PG and SM. Yes, once the UCCE infrastructure is up and running you're good to go. You now have a UCCE instance ready to route tasks.

 

To your last post above, I think you might not be getting the concept 100%. Task Routing is just an API. It does nothing on its own without you telling it to do something. What @ptindall has posted is a client to Task Routing. You have to create your own client or use his as a starting point.

 

david

You could do a few different things with it: 

  • Use it as a code sample
  • Use it pretty much as it is in the mode of reading JSON data from an HTTP server, mapping the fields into the TR request.
  • Modify the input side as required to integrate the third party application of interest, depending on how it can make requests.
  • Expose the JSON request processing part as a method and build it into your application as a Java library.

It all really depends on your solution architecture/topology and components involved.  The sample is the way it is currently because it was built to handle event information sent to webhooks from multiple requesting sources originating in the public internet (SMS providers, IoT events etc) but using an internal lab-based CCE behind a firewall.  That's why the version posted makes outgoing HTTP requests to a cloud message queue to pull its requests.  The request input side should be modified to match your particular third-party application.  How you actually do that will depend on the integration options it provides and could be message based or directly invoked code.

Hello Ptindall/David 

 

Thank you so much for detailed information , now i got this flow .

 

Appreciated your quick support on this 

 

Many Thanks!!!! 

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: