Dear Omar,

Perhaps these pointers might assist you:
1. Overview:  https://github.com/openmeetings/openmeetings-api-plugin/wiki

2. In PHP:
https://github.com/openmeetings/openmeetings-api-plugin/wiki/1.-SOAP-REST-AP
I-(in-PHP)

3. In Java:
https://github.com/openmeetings/openmeetings-api-plugin/wiki/2.-SOAP--REST-A
PI-(in-Java)

After you have successfully implemented, perhaps you could help this
community update these guides for other users like you.

Thank you.

Sincerely,

Hemant K. Sabat
 
Coscend Communications Solutions
Web site: www.Coscend.com 
------------------------------------------------------------------
Real-time, Interactive Video Collaboration, Tele-healthcare, Tele-education,
Telepresence Services, on the fly…
------------------------------------------------------------------
CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
Messages from Coscend Communications Solutions' posted at:
http://www.Coscend.com/Terms_and_Conditions.html 


-----Original Message-----
From: omar bahri [mailto:omar-bahri...@hotmail.com] 
Sent: Monday, February 13, 2017 8:41 AM
To: dev@openmeetings.apache.org
Subject: send object via url, apache openmeetings error 400 send special
character

i'm using Apache Open meetings and i have been succeed in use its method
except signup because i can n't send object of the user by URL how to change
setting of my server to send special character like "{" and "[" ? i have
red5 server and apache-openmeetings-3.1.5 version

please ,if any one have an example for add new user via api REST


function sign_up(){
    $.ajax({
        method : "GET",
        url : url_domain + "openmeetings/services/user/login",
        data : {
            user : 'omar',
            pass : 'omar'
        },
        dataType : "json",
        success : function(data) {
                    sid = data["serviceResult"]["message"];

                    user =
JSON.stringify({"address":{"country":"US","deleted":false,"email":"omar-bahr
i...@hotmail.com","id":null},"firstname":"soso","id":null,"languageId":1,"la
stname":"sosos","login":"sosos","rights":["Room","Soap","Admin","Dashboard",
"Login"],"timeZoneId":"Europe/Berlin","type":"user"});


                    //user = null;
                    confirm = false;
            $.ajax({
                method : "POST",
                url : url_domain +
"openmeetings/services/user?sid="+sid+"&user="+user+"&confirm="+confirm,
                data :  {

        },
                dataType : "json",
                success : function(data2) {

                    $("#res5").html(data2);

                }
            });
        }
    });
}



Reply via email to