Unfortunately you can found nothing about it in documentation :(

According to the code
1*,firstname,lastname,hans.t...@gmail.com,1**,Etc/GMT+1

1* == MeetingMemberId in OM DB (better to set to something meaningless i.e
"0")
firstname == first name of meeting attendee
lastname == last name of meeting attendee
hans.t...@gmail.com == email of meeting attendee
1** == OM user Id (should be set to something meaningless in case non OM
user is being send)
Etc/GMT+1 == timezone

the logic then:
If 1* is existing MeetingMemberId in OM DB stop parsing and get it
otherwise
if 1** is existing OM user ID stop parsing and get it
otherwise
create Meeting member from first/last/email/timezone

On 17 October 2014 01:37, César M. Sandrigo <cmsandr...@gmail.com> wrote:

> By the way,  where I find this documentation?
>
> I'm just trying to find what mean every value in the mmClient
> parameter. I'm curretly using the API documentation
> (https://openmeetings.apache.org/openmeetings-webservice/apidocs/). Is
> there another page with more documentation?
>
> Thanks.
>
> 2014-10-16 2:13 GMT-03:00 Maxim Solodovnik <solomax...@gmail.com>:
> > Done, documentation is updated
> >
> > On 15 October 2014 22:34, Dario Guida <produzion...@infotelsistemi.com>
> > wrote:
> >>
> >> Sure… this is full Example in java :
> >>
> >>
> >>
> >>
> >>
> >>        Calendar start = Calendar.getInstance();
> >>
> >>                     start.set(2014, Calendar.OCTOBER, 31);
> >>
> >>                     start.setTimeInMillis(start.getTimeInMillis() +
> >> 600000);
> >>
> >>
> >>
> >>                     Calendar end = Calendar.getInstance();
> >>
> >>                     end.set(2014, Calendar.OCTOBER, 31);
> >>
> >>                     end.setTimeInMillis(start.getTimeInMillis() +
> >> 1200000);
> >>
> >>
> >>
> >>                     Date eventStart = start.getTime();
> >>
> >>                     Date eventEnd = end.getTime();
> >>
> >>
> >>
> >>                String appointmentName =  URLEncoder.encode("evento
> creato
> >> da WebService", encodeType);
> >>
> >>                String appointmentLocation = URLEncoder.encode("Ufficio
> 7",
> >> encodeType);
> >>
> >>                String appointmentDescription =
> >> URLEncoder.encode("descrizione evento creato di prova", encodeType);
> >>
> >>                String appointmentstart =
> >> URLEncoder.encode(this.dateFormat.format(eventStart),encodeType);
> >>
> >>                String appointmentend =
> >> URLEncoder.encode(this.dateFormat.format(eventEnd),encodeType);
> >>
> >>                Boolean isDaily = true;
> >>
> >>                Boolean isWeekly = false;
> >>
> >>                Boolean isMonthly = false;
> >>
> >>                Boolean isYearly = false;
> >>
> >>                String categoryId = "1";
> >>
> >>                String remind = "1";
> >>
> >>                String mmClient =
> >> URLEncoder.encode("'1,renato,renato,m...@hotmail.it
> ,3,Etc/GMT+1'",encodeType);
> >>
> >>                String roomType = "1";
> >>
> >>                String languageId = this.languageId;
> >>
> >>                Boolean isPasswordProtected = true;
> >>
> >>                String password = "prova";
> >>
> >>                String roomId = idRoom.toString();
> >>
> >>
> >>
> >>   String parameter1="saveAppointment?"+
> >>
> >>                                           "SID="+sessionId+
> >>
> >>
> >> "&appointmentName="+appointmentName+
> >>
> >>
> >> "&appointmentLocation="+appointmentLocation+
> >>
> >>
> >> "&appointmentDescription="+appointmentDescription+
> >>
> >>
> >> "&appointmentstart="+appointmentstart+
> >>
> >>
> >> "&appointmentend="+appointmentend+
> >>
> >>                                                  "&isDaily="+isDaily+
> >>
> >>                                                  "&isWeekly="+isWeekly+
> >>
> >>
> "&isMonthly="+isMonthly+
> >>
> >>                                                  "&isYearly="+isYearly+
> >>
> >>                                           "&categoryId="+categoryId+
> >>
> >>                                                  "&remind="+remind+
> >>
> >>                                           "&roomType="+roomType+
> >>
> >>                                           "&languageId="+languageId+
> >>
> >>
> >> "&isPasswordProtected="+isPasswordProtected+
> >>
> >>                                           "&password="+password+
> >>
> >>                                           "&roomId="+roomId+
> >>
> >>                                           "&mmClient="+mmClient;
> >>
> >>
> >>
> >>
> >>
> >> WHERE :
> >>
> >> sessionId : is the session id of an administrator user logged in
> (service
> >> calls : getSession and loginUser)
> >>
> >> roomId : is the id of a room (in my case with service call
> >> addRoomWithModeration)
> >>
> >>
> >>
> >> The full Request is :
> >>
> >>
> >>
> http://localhost/openmeetings/services/CalendarService/saveAppointment?SID=7661de295d0d46346731555fec4cf75b&appointmentName=evento+creato+da+WebService&appointmentLocation=Ufficio+7&appointmentDescription=descrizione+evento+creato+di+prova&appointmentstart=2014-10-31T17%3A43%3A11&appointmentend=2014-10-31T18%3A03%3A11&isDaily=true&isWeekly=false&isMonthly=false&isYearly=false&categoryId=1&remind=1&roomType=1&languageId=5&isPasswordProtected=true&password=prova&roomId=96&mmClient=%271%2Crenato%2Crenato%2Cmail%40hotmail.it%2C3%2CEtc%2FGMT%2B1%27
> >>
> >>
> >>
> >>
> >>
> >> Bye bye.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> Da: Maxim Solodovnik [mailto:solomax...@gmail.com]
> >> Inviato: mercoledì 15 ottobre 2014 17:15
> >> A: Openmeetings user-list
> >> Oggetto: Re: saveAppointement CalendaService Problem
> >>
> >>
> >>
> >> Could yo point to the example you have followed, so I can update it with
> >> the solution?
> >>
> >>
> >>
> >> On 15 October 2014 22:13, Dario Guida <produzion...@infotelsistemi.com>
> >> wrote:
> >>
> >> Thank you!!
> >>
> >>
> >>
> >> Singole quote is the solution
> >>
> >>
> >>
> >> Da: Abhishek Yadav [mailto:abhishek.ya...@hiddenbrains.in]
> >> Inviato: mercoledì 15 ottobre 2014 13:09
> >> A: Openmeetings user-list
> >> Oggetto: Re: saveAppointement CalendaService Problem
> >>
> >>
> >>
> >> Hello Dario,
> >>
> >>
> >>
> >>  &mmClient='1,firstname,lastname,hans .t...@gmail.com,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
> >> <produzion...@infotelsistemi.com> 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
> >> .t...@gmail.com,1,Etc/GMT+1
> >>
> >>
> >>
> >> With this : String mmClient =
> >> URLEncoder.encode("1,renato,renato,m...@hotmail.it
> ,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
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to