7 Replies Latest reply on Jun 7, 2017 12:45 PM by Gates Ouimette RSS
    darragho Newbie

    Invoking the salesforce.com REST API from a ThingWorx instance









     

    Hi,

     

    I need to get data out of a salesforce.com instance (specifically the number of open help desk tickets), and including that data in a ThingWorx mashup. To be clear, I’m looking to display the mashup in a ThingWorx instance; not a Mashup integrated into a salesforce.com instance.


     

    salesforce.com exposes a pretty extensive REST API that returns JSON responses. What would be the recommended way to get a ThingWorx instance to invoke this REST API. I’m guessing that the two options are either invoking the API using a JavaScript snippet from a service, or alternatively creating a custom server side extension written in Java that invokes the force.com REST API?


     

    Any suggestions are greatly appreciated.


     

    Thanks,

     

    - Darragh