Thank you!!

 

Singole quote is the solution

 

Da: Abhishek Yadav [mailto:[email protected]] 
Inviato: mercoledì 15 ottobre 2014 13:09
A: Openmeetings user-list
Oggetto: Re: saveAppointement CalendaService Problem

 

Hello Dario,

 

 &mmClient='1,firstname,lastname,hans  <mailto:[email protected],1,Etc/GMT+1> 
[email protected],1,Etc/GMT+1'

 

Use like this it will work(add single quote) (in OM 3.0.x versions, it is 
accepting with single quote).

 

Try this and try with without URL encode (Because i am using without URL 
encode, it is working fine)..may be it will help you.

 

 

 

Regards,

Abhishek

 

 

 

On Wed, Oct 15, 2014 at 4:29 PM, Dario Guida <[email protected]> 
wrote:

Hi,

When I use rest webService CalendarService/ saveAppointement  I have a issue 
when I insert mmclient through the parameters;

 

I follow the example : &mmClient=1,firstname,lastname,hans 
[email protected],1,Etc/GMT+1

 

With this : String mmClient = 
URLEncoder.encode("1,renato,renato,[email protected],1,Etc/GMT+1",encodeType);

 

Results : mmClient=1%2Crenato%2Crenato%2Cmail%40hotmail.it%2C1%2CEtc%2FGMT%2B1

 

http://localhost/openmeetings/services/CalendarService/saveAppointment?SID=2bf81cbfdfd71181394ef3d58cbc4e48&appointmentName=evento+creato+da+WebService&appointmentLocation=Ufficio+7&appointmentDescription=descrizione+evento+creato+di+prova&appointmentstart=2014-10-27T13%3A06%3A16&appointmentend=2014-10-27T13%3A26%3A16&isDaily=true&isWeekly=false&isMonthly=false&isYearly=false&categoryId=1&remind=1&roomType=1&languageId=5&isPasswordProtected=true&password=prova&roomId=84&mmClient=1%2Crenato%2Crenato%2Cmail%40hotmail.it%2C1%2CEtc%2FGMT%2B1

 

If I delete the mmClient parameter the appointement is created, when I add 
mmClient parameter the service retun nil and the appointement is not created.

 

I don’t understand where is the error in the parameter mmClient

 

Thanks to all

 

 

 

Reply via email to