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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

ThingWorx REST API Access

praveenp
1-Visitor

ThingWorx REST API Access

How to communicate to the ThingWorx composer server form Java App using REST Services. Could any one provide REST API documentation.

8 REPLIES 8

bbic
1-Visitor
(To:praveenp)

Unfortunately as far as I have been able to find out the Java Docs for the ThingWorx Java API isn't public yet. 

paic
12-Amethyst
(To:praveenp)

Please go to support / Wiki and to the REST API section to learn more about the Thingworx REST API.

The other important thing to realize is that everything in the Thingworx model is exposed in our REST API.
If you are looking to do automatic type creation and management, I recommend you familiarize yourself with the Entity Services that are built-in within Thingworx.

rajgs
1-Visitor
(To:praveenp)

Hi,

We have gone through the Blog and understand that Thingworx service can be retrieved via rest api  using the url in the following format [http://localhost:8080/Thingworx/Things/ThingName/ServiceDefinitions/S | http://localhost:1977/Thingworx/Things/VMThing/ServiceDefinitions/GetAllVMDetails]erviceName?Accept=text/xml but this just returns the service definition. Please let us know how to get the return value in the form of xml/json so that a third party api can access the same.




rajgs
1-Visitor
(To:praveenp)

 [http://localhost:8080/Thingworx/Things/ThingName/Service | http://localhost:1977/Thingworx/Things/VMThing/ServiceDefinitions/GetAllVMDetails]s alone will not work, it gives some invalid error that is why we have gave [http://localhost:8080/Thingworx/Things/ThingName/Service | http://localhost:1977/Thingworx/Things/VMThing/ServiceDefinitions/GetAllVMDetails]Definitions



Hi,

I want to post the data in to the Data Table by invoking the service AddDataTableEntry. Could you help me to how to pass the parameters to invoke this service using REST API.

Announcements


Top Tags