Skip to main content
Jun 7, 2016 6:54 AM UTC
Question

Sending Data from Thingworx to Device

How can I send data from the thingworx platform to my java sdk ? A sample java code to get data from the platform would be even better. Thanks in advance. 

5 replies

Jun 7, 2016 12:52 PM UTC

That are some spare informations ...

Different ways from my mind to achive informationflow to a thing connected to the plattform:

  • using REST API of the Plattform, pull data from the platform
  • using PropertySetters in SDK
  • using services triggerd in the plattform sending data to the device (PUSH)

What do you want to Achive?

dr-3Author
Jun 8, 2016 6:08 AM UTC

Can you elaborate on the first 2 types?

1. Getting through REST API

2. Getting through read property(If I'm not wrong) in JAVA sdk

Jun 8, 2016 7:26 AM UTC

for the REST API you can use the HelpCenter : http://support.ptc.com/cs/help/thingworx_hc/thingworx_6.6_hc/index.jspx?id=ThingWorxRESTAPI&action=show it is very straightforward and can be tested with every Browser.

I'am more the c/c++ type, so i don't know much about the java SDK but a start is to cunsult the HelpCenter at http://support.ptc.com/cs/help/thingworx_hc/thingworx_edge/index.jspx?id=javasdk_topics-c_thingworx_java_sdk_AboutThisGuide_helpCenter&action=show

There shoud be the informations you need.

Sep 24, 2016 9:53 PM UTC

Hi Dharmendran R​ , Are able to connect and send data from your Java SDK to Thingworx Platform.  Is your issue resolved or not .

Let me know if you still have issues in connecting a JAVA SDK to Thingworx , I can help you real quick.

Thanks

Ravi Upadhyay

Sep 24, 2016 9:58 PM UTC

I have send you the link , which will guide you Step by  step in your java SDK connection and configuration.

Please do let me know if you still need help with this.

Thanks

Ravi Upadhyay