New route for assign; test server api get periods