Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.2
-
None
Description
Hello,
I have a problem with Room hash invitation in RoomWebService.
Given Service :
@Path(value="/hash")
public ServiceResult hash(@QueryParam(value="sid")
String sid,
@QueryParam(value="invite")
InvitationDTO invite,
@QueryParam(value="sendmail")
boolean sendmail)
I can generate following URL :
URL : /room/hash?sid=94bc68fa-a946-4b0d-a845-e959deeab317&invite=
{"firstname":"Mark","lastname":"Steven","email":"[abc@gmail.com|mailto:abc@gmail.com]","password":"Sys@123!","passwordProtected":true,"subject":"Health Meeting","roomId":"2","message":"Meeting","validFrom":"2018-03-19 02:25:12","validTo":"2018-04-20 02:25:12"}&sendmail=true
parameter as bellow,
sid = 94bc68fa-a946-4b0d-a845-e959deeab317
invite =
{"firstname":"Mark","lastname":"Steven","email":"[abc@gmail.com|mailto:abc@gmail.com]","password":"Sys@123!","passwordProtected":true,"subject":"Health Meeting","roomId":"2","message":"Meeting","validFrom":"2018-03-19 02:25:12","validTo":"2018-04-20 02:25:12"}sendmail = true
On Restlet it will give me 500 Error :
Parameter Class org.apache.openmeetings.db.dto.room.InvitationDTO has no constructor with single String parameter, static valueOf(String) or fromString(String) methods
So please suggest how to pass parameter in room hash webservice, Specifically @QueryParam(value="invite")InvitationDTO invite. And How to genarate URL for this RoomWebService.
Attachments
Issue Links
- is duplicated by
-
OPENMEETINGS-1858 Issue in Invitation hash RoomWebService
- Closed