Unable to execute service GetThingRelationships on ThingTemplate
Hi,
I am trying out few operations on templates via java sdk. One of the use case is getting all the thing names that are derived from a particular template. According to the documentation, a simple invokeService call to GetThingRelationships should get this done cleanly. The service expects an input of maxDepth we want to keep searching the things. (e.g. vehicalTemplate -> CarTemplate -> ElectricCarTemplate -> TeslaCar1Thing, TeslaCar2Thing, TeslaCar3Thing etc ).
When tried to execute the call via java sdk -
client.invokeService(RelationshipTypes.ThingworxEntityTypes.ThingTemplates, "templateName", "GetThingRelationships", new ValueCollection(), 30000)
throws exception stating - Invalid service name.
Same goes for other services like - GetImpletementedShapes, GetThingTemplate etc.
Are these not the valid services for entityType templates? If so, why are they listed under Services section of my template in composer UI?
I am using ThingWorx 8.5, if it is version related issue.
Any help is very much appreciated!
Regards,
Vaishnavee

