For the duplicateobject API call, what is the targetid parameter? I have a sensor I'm trying to duplicate, but don't know what value I should be supplying for targetid. Making one up does not seem to work. Thanks.


Article Comments

Hi,
the targetid parameter refers to the id of the group the duplicated object should be attached to. When duplicating a sensor the targetid refers to the device the sensor should be part of.
Best regards


Jan, 2013 - Permalink