We would lik to query for a given system and get back its location data. We key off of fqdn/hostname, which is used for fqdn, visible label, and the object name.
// get object_id by its FQDN
// using function searchByMgmtHostname()
assertStringArg ("fqdn", TRUE);
$object_id = searchByMgmtHostname(( $_REQUEST['fqdn'] ));