Skip to main content
1-Visitor
March 3, 2020
Solved

retrieve list of all things .... in thingworx

hi community, 

 

how can I retrieve names of all things, thingtemplates, datashape, ..... in thingworx

 

Thanks in advance.

 

Anass nasser

vinakumarAnswer
12-Amethyst
March 4, 2020

Hi,

 

You can execute GetEntities service on the Project to get the list of all Things , ThingTemplates and DataShapes covered in that project.

3 replies

12-Amethyst
March 3, 2020

Hi,

 

You can retrieve the list of Things , ThingTemplates and dataShapes by making the rest call on the desired endpoints.

For example,

If you would like to get all your Things , then you can make below rest call

https://localhost:8443/Thingworx/Things where localhost is your host name and 8443 is the port on which Thingworx is deployed

For getting List of ThingTemplates, you can make below rest call

https://localhost:8443/Thingworx/ThingTemplates

 

 

Translate
1-Visitor
March 4, 2020

first of all thank you, 

 

my question is there is any service or a function to retrieve all things, template,propeties,... inside a project, i want to make a copy of all entities in thingworx, to be able to give permessions by using a csv file.

 

Thank you in advance.

Translate
vinakumar12-AmethystAnswer
12-Amethyst
March 4, 2020

Hi,

 

You can execute GetEntities service on the Project to get the list of all Things , ThingTemplates and DataShapes covered in that project.

Translate