Hi,
Is there a way to set thing shape with rest api as we set thing template? I tired with "thingShapeName" in the Request body of create thing rest api but its not working.
Solved! Go to Solution.
There is a service under Resources/EntityServices called AddShapeToThing that takes two parameters. If you're calling it via the rest api, you'll likely need to ensure the Thing has been created (and usually re-started using the RestartThing() service if you're creating it via the api) before calling the above service.
There is a service under Resources/EntityServices called AddShapeToThing that takes two parameters. If you're calling it via the rest api, you'll likely need to ensure the Thing has been created (and usually re-started using the RestartThing() service if you're creating it via the api) before calling the above service.
yeah I got it! Will try and get back to you.
Thanks!
Try this link:
<yourTWxServer>/Thingworx/Resources/EntityServices/ServiceDefinitions/
There you should see AddShapeToThing()
sure! thanks a lot for your help
Thanks..its working!!