Update REST api to version 4.2. Use api v3 for ajax
fixes #10784, fix event participant over seat problem.