it was in this mail thread:
In moodle plugin (PHP) :
>>> moodle/mod/openmeetings/api/openmeetings_gateway.php
>>>
>>> //create the room
>>> $url = $this->getRestUrl("RoomService") .
>>> 'addRoomWithModerationAndExternalType?SID=' . $this->session_id . '&name='
>>> . urlencode($openmeetings->roomname) . '&roomtypes_id=' .
>>> $openmeetings->type . '&comment=' . urlencode('Created by SOAP-Gateway') .
>>> '&numberOfPartizipants=' . $openmeetings->max_user . '&ispublic=false' .
>>> '&appointment=false' . '&isDemoRoom=false' . '&demoTime=0' .
>>> '&isModeratedRoom=' . $isModeratedRoom . '&externalRoomType=' .
>>> urlencode($this->config["moduleKey"]);
>>> $result = $restService->call($url, "return");//$result contain the new
>>> room id
>>>
>>> //update with more parameters
>>> $url2 = $this->getRestUrl("RoomService") .
>>> 'updateRoomWithModerationQuestionsAudioTypeAndHideOptions?SID=' .
>>> $this->session_id . '&room_id='.$result.'&name=' .
>>> urlencode($openmeetings->roomname) . '&roomtypes_id=' . $openmeetings->type
>>> . '&comment=' . urlencode('Created by SOAP-Gateway') .
>>> '&numberOfPartizipants=' . $openmeetings->max_user . '&ispublic=false' .
>>> '&appointment=false' . '&isDemoRoom=false' . '&demoTime=0' .
>>> '&isModeratedRoom=' . $isModeratedRoom .
>>> '&allowUserQuestions=true&isAudioOnly=false&hideTopBar=false&hideChat=false&hideActivitiesAndActions=true&hideFilesExplorer=false&hideActionsMenu=false&hideScreenSharing=false&hideWhiteboard=true';
>>> $result2 = $restService->call($url2, "return");
>>>
>>
On Thu, Mar 10, 2016 at 5:58 PM, J Navonn <[email protected]> wrote:
> I don't find that code. In which link ?
> Thanx
>
> Le 10/03/2016 10:14, Maxim Solodovnik a écrit :
>
> for 3.0.7 you can use "OM3.0" API + the code provided by "Imbert Samuel"
>
> On Thu, Mar 10, 2016 at 2:02 PM, J Navonn <[email protected]> wrote:
>
>> Hi
>>
>> Version3.0.7-RELEASE
>> Revision1705518
>> Build date27-September-2015
>>
>> PHP is what I am seeking for
>>
>> Thank you in advance
>> Jacob
>>
>> Le 10/03/2016 07:46, Maxim Solodovnik a écrit :
>>
>> hm
>>
>> what version of OM are you using?
>> all examples are PHP is it OK?
>>
>> for 3.1.0, here is the documentation:
>> <http://openmeetings.apache.org/openmeetings-webservice/apidocs/index.html>
>> http://openmeetings.apache.org/openmeetings-webservice/apidocs/index.html
>> (yoou need RoomWebService :)
>>
>> On Thu, Mar 10, 2016 at 11:43 AM, J Navonn < <[email protected]>
>> [email protected]> wrote:
>>
>>> Hi Maxim,
>>>
>>> (I have changed the label name of my mail, previously it was
>>> Openmeetings - This mail is dedicated to my exchanes with OM).
>>>
>>> Thank you for the answer, but you give me an ocean to discover, whereas
>>> I just wanted a sample routine to create a room.
>>>
>>> Can you give me the files to include. Assume that I have already logged
>>> it using REST and that I already have a Session_id. What function with what
>>> parameters should I call.
>>>
>>> Thank you very much in advance.
>>>
>>> Jacob
>>>
>>> Le 10/03/2016 05:54, Maxim Solodovnik a écrit :
>>>
>>> API: https://github.com/openmeetings-extras/openmeetings-api-plugin
>>> (master is for 3.1.0, for 3.0.7 please use OM3.0 branch)
>>> example:
>>> https://github.com/openmeetings-extras/openmeetings-moodle-plugin
>>>
>>> On Thu, Mar 10, 2016 at 4:11 AM, Imbert Samuel <[email protected]>
>>> wrote:
>>>
>>>> In moodle plugin (PHP) :
>>>> moodle/mod/openmeetings/api/openmeetings_gateway.php
>>>>
>>>> //create the room
>>>> $url = $this->getRestUrl("RoomService") .
>>>> 'addRoomWithModerationAndExternalType?SID=' . $this->session_id . '&name='
>>>> . urlencode($openmeetings->roomname) . '&roomtypes_id=' .
>>>> $openmeetings->type . '&comment=' . urlencode('Created by SOAP-Gateway') .
>>>> '&numberOfPartizipants=' . $openmeetings->max_user . '&ispublic=false' .
>>>> '&appointment=false' . '&isDemoRoom=false' . '&demoTime=0' .
>>>> '&isModeratedRoom=' . $isModeratedRoom . '&externalRoomType=' .
>>>> urlencode($this->config["moduleKey"]);
>>>> $result = $restService->call($url, "return");//$result contain the new
>>>> room id
>>>>
>>>> //update with more parameters
>>>> $url2 = $this->getRestUrl("RoomService") .
>>>> 'updateRoomWithModerationQuestionsAudioTypeAndHideOptions?SID=' .
>>>> $this->session_id . '&room_id='.$result.'&name=' .
>>>> urlencode($openmeetings->roomname) . '&roomtypes_id=' . $openmeetings->type
>>>> . '&comment=' . urlencode('Created by SOAP-Gateway') .
>>>> '&numberOfPartizipants=' . $openmeetings->max_user . '&ispublic=false' .
>>>> '&appointment=false' . '&isDemoRoom=false' . '&demoTime=0' .
>>>> '&isModeratedRoom=' . $isModeratedRoom .
>>>> '&allowUserQuestions=true&isAudioOnly=false&hideTopBar=false&hideChat=false&hideActivitiesAndActions=true&hideFilesExplorer=false&hideActionsMenu=false&hideScreenSharing=false&hideWhiteboard=true';
>>>>
>>>> $result2 = $restService->call($url2, "return");
>>>>
>>>>
>>>>
>>>> Le mer. 9 mars 2016 à 22:37, Openmeetings < <[email protected]>
>>>> [email protected]> a écrit :
>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> Is it possible to create a conference room with REST. It is not clear
>>>>> in the
>>>>> documentation. If yes, does someone have an example ?
>>>>>
>>>>> Thank you
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
--
WBR
Maxim aka solomax