Method to get the department list

def get_sub_dept_ids(self):
        """Method to get the department list"""
        self.logger.info("%s\t%s" % (self.request_method, self.request_url))
        return self.json_response.get("sub_dept_id_list", None)