2 Replies Latest reply on Aug 26, 2009 3:03 AM by JoeMosley

    Relationship between device and group exposed in xml?

      Hi,

       

      Ive written a c# app to take a clone of a servers monitors rewrite the xml to modify the server/ip/fqdn etc properties and write it back which works really well. However i want to be able to read the members of a group i.e. put a set of devices in a templates group and use those as the basis for my cloning.

      What i cant do is find a way to determine the parentid of a device as it always seems to be 0, so i cant read determine what devices belong to a specific group. There doesnt seem to be a soap call that returns a list of groups within a group either which would have been my preference.

      So is there another way to find a devices parent? or group membership?

       

      Regards

       

      Joe