Readded the web api endpoint routing