APD-160: building the ajax request for the hierarchy