Hello Jibsan,

you can check our PHP API to get exact syntax
please use these values for type:
https://github.com/apache/openmeetings/blob/master/openmeetings-db/src/main/java/org/apache/openmeetings/db/entity/room/Room.java#L130

On Thu, 25 Jun 2020 at 22:34, Jibsan Joel Rosa Toirac <[email protected]>
wrote:

> Hello there,greetings to all. Please I need help, I want now to create a
> Room using the same way you sent me which is the one I was looking for,
> this one for creating an user:
>
>
>
> curl --location --request POST 'http:// <http:///>
> 192.168.14.98:5080/openmeetings/services/user
> <http://192.168.14.98:5080/openmeetings/services/user/login?&user=admin&pass=my_password>/?sid=cc8d1754-87c8-459a-adf7-e2a1a80cba9b'
> \
> --form 'user= {
>     "firstname": "Jibsan",
>     "lastname": "Test",
>     "externalId": jibsan",
> "password":"QQQ999!!!qqq",
>     "login": jibsan,
> "address" : {
> "email": "[email protected]"
> }
>   }' \
> --form 'confirm=false'
>
>
>
> Now I want to create a room and I’m using the same to create the room, but
> I need to fill some data, in this case “type” which is like a form, and
> “allowRecording” which is a boolean.
>
>
>
> I’m doing something like this:
>
>
>
> curl --location --request POST '
> http://192.168.14.98:5080/dialogo/services/room/?sid=493604c7-8576-477d-babc-9bc5d09a188d'
> \
>
> --form 'room= {
>
>     "name": "Test",
>
>     "comment": "Test number one",
>
>     "type" : {
>
>
>
>     }
>
>     "capacity":     "30",
>
>     "allowRecording": "true",
>
>     "externalId": "testroom"
>
>   }'
>
>
>
> So I want to fill the “type” because I read that it could be Private,
> Public, Interview, etc.
>
> Also if you could provide me with a final help, I need to get the Hash
> invitation with params using the same way and if you believe that what I'm
> doing is missing something, please tell me.
>
>
>
> Thank you,
>
> Jibsan.
>


-- 
Best regards,
Maxim

Reply via email to