Sorry if I'm bothering you. I have not much experiencie on all this of the
APIs, I'm learning a lot with you.

Greetings,

Jibsan.

El vie., 10 jul. 2020 a las 11:32, Jibsan Joel Rosa Toirac (<
[email protected]>) escribió:

> Ok, well, I think I have to Open the Inspector on the Browser no? Them
> Login into the OM. Enter in a Room, them Send an invitation from the Room
> and see that on the Console Log on the inspector no?
>
> If that's ok, maybe the Step 1 and 2 I didn't understand them.
>
> Best Wishes,
>
> Jibsan.
>
> El vie., 10 jul. 2020 a las 17:27, Maxim Solodovnik (<[email protected]>)
> escribió:
>
>> what exactly from my answer have you tried?
>> what exactly is not clear?
>>
>> On Fri, 10 Jul 2020 at 21:48, Jibsan Joel Rosa Toirac <[email protected]>
>> wrote:
>>
>>> Hello Maxim, I deeply sorry, but could you explain a little bit better,
>>> I couldn't understand you well. Maybe if there is possible to explain the
>>> proccess with  ScreenShots? It will work even better. Sorry Maxim for that.
>>>
>>> Greetings and best wishes,
>>>
>>> Jibsan
>>>
>>> El vie., 10 jul. 2020 a las 4:43, Maxim Solodovnik (<
>>> [email protected]>) escribió:
>>>
>>>> The steps are:
>>>> 1) go to build server
>>>> 2) click on latest build
>>>> 3) open full console log
>>>> 4) find this call
>>>> You will get the payload
>>>>
>>>> (from mobile, sorry for typos)
>>>>
>>>> On Wed, Jul 8, 2020, 21:05 Jibsan Joel Rosa Toirac <[email protected]>
>>>> wrote:
>>>>
>>>>> Hello Maxim, sorry for late reply. I´ve seen what you told me, but
>>>>> there is no way to figure out how to solve this. Sorry. I nee to do this
>>>>> anyhow..
>>>>>
>>>>> Greetings
>>>>>
>>>>> Jibsan.
>>>>>
>>>>> El mar., 7 jul. 2020 a las 3:29, Maxim Solodovnik (<
>>>>> [email protected]>) escribió:
>>>>>
>>>>>> to get request payload
>>>>>> please check the logs of most recent build
>>>>>>
>>>>>> On Tue, 7 Jul 2020 at 02:10, Jibsan Joel Rosa Toirac <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hello guys. I'm trying to get a HASH invitation using the API of OM.
>>>>>>> I was reading that there are three parameter to fill on the method, and 
>>>>>>> all
>>>>>>> of them are @QueryParam. So here is what the Documentation said:
>>>>>>>
>>>>>>> @POST @Path("/hash") public ServiceResult 
>>>>>>> <https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/basic/ServiceResult.html?is-external=true>
>>>>>>>  hash(@QueryParam("sid") String 
>>>>>>> <https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true>
>>>>>>>  sid, @QueryParam("invite") InvitationDTO 
>>>>>>> <https://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/room/InvitationDTO.html?is-external=true>
>>>>>>>  invite, @QueryParam("sendmail") boolean sendmail)
>>>>>>>
>>>>>>> Method to get invitation hash with given parameters
>>>>>>> Parameters:sid - - The SID of the User. This SID must be marked as
>>>>>>> Loggedininvite - - parameters of the invitationsendmail - - flag to
>>>>>>> determine if email should be sent or notReturns:- serviceResult
>>>>>>> object with the result
>>>>>>>
>>>>>>> And here is what I've done:
>>>>>>>
>>>>>>> curl --location --request POST '
>>>>>>> http://192.168.14.90:5080/openmeetings/services/room/?sid=1a17f6b4-0476-464e-a7be-3d1bb8006dac'
>>>>>>> \
>>>>>>>   --form 'invite= {
>>>>>>>       "email": "[email protected]",
>>>>>>>       "firstname": "Jonh",
>>>>>>>       "lastname" : "Prime",
>>>>>>>       "message": "Conference with Optimus Prime",
>>>>>>>       "subject": "tests",
>>>>>>>       "roomId": "11",
>>>>>>>       "passwordProtected": "false",
>>>>>>>       "password": "QQQ!!!939393",
>>>>>>>       "valid": "",
>>>>>>>       "validForm": "2020-09-23 12:33:40",
>>>>>>>       "validTo":  "2020-09-25 12:33:40"
>>>>>>>     }' \
>>>>>>>     --form 'sendmail=false'
>>>>>>>
>>>>>>> Maybe I should remove the "--form" but I need help with this. Once
>>>>>>> again, I'm using CURL to do this.
>>>>>>>
>>>>>>> Thank you for your time,
>>>>>>> Jibsan.
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>> Maxim
>>>>>>
>>>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

Reply via email to