Skip to main content
1-Visitor
March 2, 2019
Question

Send data from ThingWorx using HTTPS

  • March 2, 2019
  • 2 replies
  • 1874 views

Hi,

We need to send data from ThingWorx data table to external systems through HTTPS.

Flow is :

1. Send data from DataTable to external system using REST over https.

2. If call is successful(HTTP status code =200), mark data as sent.

3. In case of failure, mark data as NotSent.

 

I tried with ContentLoaderFunctions.LoadJSON(), issue is it does not get any HTTP status code after execution.

There is existing issue while getting http status codes. ( https://www.ptc.com/en/support/article?n=CS228550&source=snippet )

 

Is there any other way to send data from ThingWorx over https.

 

Last option can be creating custom extension for same, but is there OOB functionality?

 

Thanks,

Vishwas

2 replies

Support
March 6, 2019

Hi @vishwasrao10.

 

Is the application on the other side of this equation able to make REST requests?  We would need to understand more about the communications between that and ThingWorx.  All services in ThingWorx are exposed to REST services, but if the other side is not handling the request as expected, this would affect the results.

 

Please refer to the following link for more information.

 

Regards.

 

--Sharon

20-Turquoise
March 13, 2019

The reported issue (the one referred in the article) is currently marked as critical and being worked on by R&D. I will update this thread once there is a status change.

20-Turquoise
April 29, 2019

Just an update that the issue is still being worked on.