0 Replies Latest reply on Apr 19, 2016 3:36 AM by fserre RSS
    fserre Explorer

    Get remotePropertyBindings

    Hi,

    I am trying to get the list of all properties of a thing with the remote bindings details.

    If I use Things["myThing"].GetMetadata().propertyDefinitions, I get all the properties but without bindings details.

    I can use the GetRemotePropertyBinding() service to get the info but if the property is not bound I get an exception. OK, I could catch it but I am looking for a better way to do it...

    If use the REST API with a GET on  "http://myserver/Thingworx/Things/myThing", I can see a remotePropertyBindings array within the JSON response.

    Does anybody know how to use it?

    Or is there another service doing the job that I have missed?