You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Jibsan Joel Rosa Toirac <ji...@gmail.com> on 2020/12/01 21:15:23 UTC

Save a calendar Event Using API

Hello, I want to save a calendar Event using API, but there is a problem,
"attendees" field where can I found it? I have read the documentation but
nothing appears about that field. I'm using CURL to do this. If anyone has
any example of the complete URL will be well received .

Greetings,

Jibsan

Re: Save a calendar Event Using API

Posted by Jibsan Joel Rosa Toirac <ji...@gmail.com>.
Thanks Maxim, I already found it.

Payload:
{"appointmentDTO":{"connectedEvent":false,"deleted":false,"description":"Русский
Тест","end":"2025-01-20T18:30:03+0000","icalId":"e68beea0-b0f9-4e0c-b473-1424f58bf94c","id":20,"inserted":"2020-12-01T16:14:12+0000","languageId":9,"location":"","meetingMembers":[{"id":23,"user":{"address":{"country":"US","deleted":false,"email":"
junit@openmeetings.apache.org
","id":1,"inserted":{"date":1,"day":2,"hours":15,"minutes":49,"month":11,"ownerField":1,"seconds":27,"time":1606837767474,"timezoneOffset":0,"year":120}},"firstname":"firstname","id":1,"languageId":1,"lastname":"lastname","login":"admin","rights":["ADMIN","ROOM","SOAP","DASHBOARD","LOGIN"],"timeZoneId":"Europe/Berlin","type":"USER"}}],"owner":{"address":{"country":"","deleted":false,"email":"emailbd933974-7639-4d9a-93a4-828db3f881f9@local","id":36,"inserted":{"date":1,"day":2,"hours":16,"minutes":14,"month":11,"ownerField":1,"seconds":11,"time":1606839251076,"timezoneOffset":0,"year":120}},"firstname":"firstnamebd933974-7639-4d9a-93a4-828db3f881f9","id":38,"languageId":1,"lastname":"lastnamebd933974-7639-4d9a-93a4-828db3f881f9","login":"loginbd933974-7639-4d9a-93a4-828db3f881f9","rights":["ROOM","DASHBOARD","LOGIN"],"timeZoneId":"Asia/Bangkok","type":"USER"},"passwordProtected":false,"reminder":"EMAIL","reminderEmailSend":false,"room":{"allowRecording":false,"allowUserQuestions":true,"appointment":true,"audioOnly":true,"capacity":50,"closed":false,"comment":"appointment
test
room","demo":false,"externalId":"10","externalType":"HuntingLabCMS","files":[],"hiddenElements":[],"id":68,"moderated":true,"name":"test","public":false,"redirectUrl":"","tag":"","type":"CONFERENCE","waitRecording":false},"start":"2025-01-20T17:30:03+0000","title":"test","updated":"2020-12-01T16:14:14+0000"}}

You were right, there is no "attendees" field, is "meetingMembers".

Thanks a lot.

Greetings and best wishes,

Jibsan

El jue, 3 dic 2020 a las 0:11, Maxim Solodovnik (<so...@gmail.com>)
escribió:

> the logs should be here
> https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/
>
> for ex. here is the full log of latest build
> https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/173/consoleFull
>
> there is no `attendees` field
> I guess you need `meetingMembers`
>
> On Wed, 2 Dec 2020 at 23:25, Jibsan Joel Rosa Toirac <ji...@gmail.com>
> wrote:
>
>> Thanks Maxim, I just saw it and I have a doubt, could you let me see the
>> logs of the Jenkins to find the method for the "Calendar Web Service" there?
>>
>> There is a parameter I want to see and the Documentation doesn't says
>> anything about it, it is the "attendees" parameter which not appears on
>> the documentation because I need the full URL to send it on POST with CURL.
>> Anyhow I have tried many methods but not a single one has worked.  If you
>> could help with that I will be so thankful.
>>
>> Greetings,
>>
>> Jibsan
>>
>> El mié., 2 dic. 2020 a las 16:25, Maxim Solodovnik (<so...@gmail.com>)
>> escribió:
>>
>>> Hello Jibsan,
>>>
>>> Javadoc at OM site seems to be broken :(((
>>> You can find DTO description here
>>> https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/calendar/AppointmentDTO.html
>>>
>>> I'll try to fix generated Javadoc with 5.1.0 release (currently VOTED)
>>>
>>> On Wed, 2 Dec 2020 at 04:15, Jibsan Joel Rosa Toirac <ji...@gmail.com>
>>> wrote:
>>>
>>>> Hello, I want to save a calendar Event using API, but there is a
>>>> problem, "attendees" field where can I found it? I have read the
>>>> documentation but nothing appears about that field. I'm using CURL to do
>>>> this. If anyone has any example of the complete URL will be well received .
>>>>
>>>> Greetings,
>>>>
>>>> Jibsan
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>
>
> --
> Best regards,
> Maxim
>

Re: Save a calendar Event Using API

Posted by Maxim Solodovnik <so...@gmail.com>.
the logs should be here
https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/

for ex. here is the full log of latest build
https://ci-builds.apache.org/job/OpenMeetings/job/openmeetings/173/consoleFull

there is no `attendees` field
I guess you need `meetingMembers`

On Wed, 2 Dec 2020 at 23:25, Jibsan Joel Rosa Toirac <ji...@gmail.com>
wrote:

> Thanks Maxim, I just saw it and I have a doubt, could you let me see the
> logs of the Jenkins to find the method for the "Calendar Web Service" there?
>
> There is a parameter I want to see and the Documentation doesn't says
> anything about it, it is the "attendees" parameter which not appears on
> the documentation because I need the full URL to send it on POST with CURL.
> Anyhow I have tried many methods but not a single one has worked.  If you
> could help with that I will be so thankful.
>
> Greetings,
>
> Jibsan
>
> El mié., 2 dic. 2020 a las 16:25, Maxim Solodovnik (<so...@gmail.com>)
> escribió:
>
>> Hello Jibsan,
>>
>> Javadoc at OM site seems to be broken :(((
>> You can find DTO description here
>> https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/calendar/AppointmentDTO.html
>>
>> I'll try to fix generated Javadoc with 5.1.0 release (currently VOTED)
>>
>> On Wed, 2 Dec 2020 at 04:15, Jibsan Joel Rosa Toirac <ji...@gmail.com>
>> wrote:
>>
>>> Hello, I want to save a calendar Event using API, but there is a
>>> problem, "attendees" field where can I found it? I have read the
>>> documentation but nothing appears about that field. I'm using CURL to do
>>> this. If anyone has any example of the complete URL will be well received .
>>>
>>> Greetings,
>>>
>>> Jibsan
>>>
>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

-- 
Best regards,
Maxim

Re: Save a calendar Event Using API

Posted by Jibsan Joel Rosa Toirac <ji...@gmail.com>.
Thanks Maxim, I just saw it and I have a doubt, could you let me see the
logs of the Jenkins to find the method for the "Calendar Web Service" there?

There is a parameter I want to see and the Documentation doesn't says
anything about it, it is the "attendees" parameter which not appears on the
documentation because I need the full URL to send it on POST with CURL.
Anyhow I have tried many methods but not a single one has worked.  If you
could help with that I will be so thankful.

Greetings,

Jibsan

El mié., 2 dic. 2020 a las 16:25, Maxim Solodovnik (<so...@gmail.com>)
escribió:

> Hello Jibsan,
>
> Javadoc at OM site seems to be broken :(((
> You can find DTO description here
> https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/calendar/AppointmentDTO.html
>
> I'll try to fix generated Javadoc with 5.1.0 release (currently VOTED)
>
> On Wed, 2 Dec 2020 at 04:15, Jibsan Joel Rosa Toirac <ji...@gmail.com>
> wrote:
>
>> Hello, I want to save a calendar Event using API, but there is a problem,
>> "attendees" field where can I found it? I have read the documentation but
>> nothing appears about that field. I'm using CURL to do this. If anyone has
>> any example of the complete URL will be well received .
>>
>> Greetings,
>>
>> Jibsan
>>
>
>
> --
> Best regards,
> Maxim
>

Re: Save a calendar Event Using API

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Jibsan,

Javadoc at OM site seems to be broken :(((
You can find DTO description here
https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/calendar/AppointmentDTO.html

I'll try to fix generated Javadoc with 5.1.0 release (currently VOTED)

On Wed, 2 Dec 2020 at 04:15, Jibsan Joel Rosa Toirac <ji...@gmail.com>
wrote:

> Hello, I want to save a calendar Event using API, but there is a problem,
> "attendees" field where can I found it? I have read the documentation but
> nothing appears about that field. I'm using CURL to do this. If anyone has
> any example of the complete URL will be well received .
>
> Greetings,
>
> Jibsan
>


-- 
Best regards,
Maxim