added endpoints to participant rest api for getting and setting participant details.