Adding Entity Relations In Thingsboard Using Swagger Api And Python
I am trying to automatize the setup of a Thingsboard node. (2.0.2) I have managed to create assets and devices using the oss-thingsboard-backend-example. However, I did not succe
Solution 1:
The relation body is in the form:
{"from":{"id":"eb1a6dd0-73db-11e8-ba6f-5f195a167785","entityType":"ASSET"},"type":"Contains","to":{"entityType":"DEVICE","id":"80131e70-745c-11e8-ba6f-5f195a167785"},"additionalInfo":null}
I created the JSON directly and not by using EntityRelation, and it works.
Post a Comment for "Adding Entity Relations In Thingsboard Using Swagger Api And Python"