Skip to main content
4-Participant
January 30, 2024
Solved

Get Service Category

  • January 30, 2024
  • 1 reply
  • 848 views

Hello,

 

for an administrative task, I need a service that returns the category of a service, or even a list of the categories of all the services of a thing in Thingworx 9.1 or 9.3. Does anyone have an idea how to make something like this happen?

Best answer by Rocko

Service Categories are not exposed via API. The only way would be getting it directly from the database, but this is 1) incomplete, 2) unsafe and 3) not supported. Categories are only meant to support interactive development.

1 reply

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
January 30, 2024

Service Categories are not exposed via API. The only way would be getting it directly from the database, but this is 1) incomplete, 2) unsafe and 3) not supported. Categories are only meant to support interactive development.

4-Participant
January 30, 2024

Thanks for the quick reply. I'm reassured that it wasn't my fault that I didn't find anything.
Unfortunately, there is no such feature. It would avoid a lot of work and error on the part of the developers if you could set rights based on categories by means of a script.