Added id and courtType fields to restful-api views

see #298