cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Send data from ThingWorx using HTTPS

vishwasrao10
4-Participant

Send data from ThingWorx using HTTPS

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

3 REPLIES 3
slangley
23-Emerald II
(To:vishwasrao10)

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

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.

posipova
20-Turquoise
(To:posipova)

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

Top Tags