restful route constructor completed