added important argument to linktoroutes api method