Setting thing shape with rest api
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.
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.
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.