Skip to main content

1 reply

17-Peridot
June 1, 2022

@MM_9023322,

Have you reviewed the Knowledge Base Article: Article - CS361442 - Publishing data to an Azure Service Bus from ThingWorx Platform

 

15-Moonstone
June 1, 2022

@PEHOWE,

Thank you for the response, I have gone through that article, but I am not able to understand how to establish the connectivity. I have a service(on THX) that gives me JSON output coming from the content loader, GetJSON, now how do I publish that JSON data to the Azure service bus. How to establish connectivity? Is there any example available for reference?

17-Peridot
June 1, 2022

@MM_9023322.

 

The ThingWorx has been designed to create a REST API to the services. This will allow you to execute a REST API from outside ThingWorx and get the results of a service. As a tool to getting the parameter information correct I would recommend using POSTMAN. https://www.postman.com/

 

I have placed a list of the articles relating to the POSTMAN and REST API. 

 

Which side are you looking to start the interaction? If you are starting the interaction from ThingWorx then you can use the Content Loader Functions. The POSTMAN tool is great in that it provides a easer method of reviewing the errors which may be reported if the parameters are not correct. Once you have the parameters using POSTMAN the information can then be used to create the REST API call from ThingWorx.

If you are trying to extract information from ThingWorx, I would start with using POSTMAN to make a REST API call to ThingWorx and then transfer the information into the calling application.

Let me know where you are in the process and I will try to provide a more specific example.

 

Regards

Peter