Skip to main content
1-Visitor
October 27, 2020
Question

How to check whether ThingWorx of any environment is up and running with Rest Api?

  • October 27, 2020
  • 1 reply
  • 2055 views

Hi Team,

 

Is it possible to check whether ThingWorx Server is up and running using some Rest call on any thingworx property or service or both?

 

Please guide me on this.

 

Thanks in advance.

1 reply

17-Peridot
October 28, 2020

Hi,

 

You can do any REST call for a property or service to check the Thingworx status. The response of the REST call should be 200 in order for Thingworx to be up and running.

 

Hope it helps,

Raluca Edu

ranjank1-VisitorAuthor
1-Visitor
October 28, 2020

Hi @raluca_edu ,

 

I am able to get response only for any property of a thing (Only for GET Request, not with POST) but not able to execute service using below url (both with GET and POST) :-

 

http://<Thingworx Ip>:8080/Thingworx/<entity collection>/<Entity Name>/Services/<ServiceName>

 

Above url is giving response only till .....<Entity Name> and for further it is showing "Invalid request" because "Services" link is not displaying. (Screenshot enclosed)

 

Actually, I want to execute the services of Subsystem using Rest Call.

 

Can you help me on how to execute the service.

 

 

5-Regular Member
October 28, 2020

Hello @ranjank,

 

To execute a service in ThingWorx via Postman you have to use the POST option.

More information can be found under Updating, Deleting, and Executing Through the API