You are sending 2 REST requests to OM
I need 2 answers for these 2 requests

On Wed, Apr 19, 2017 at 8:59 PM, K, Amit (MIND) <[email protected]>
wrote:

> Hi,
>
>
>
> I am getting folloeing tst as result while calling service for hash (
> http://172.29.37.133:5080/openmeetings/services/user/hash?sid=
> b7c9772c-cb77-4639-9f89-855088308707):
>
>
>
> Insufficient permissions
>
>
>
> Thanks,
>
> Amit
>
>
>
> *From:* Maxim Solodovnik [mailto:[email protected]]
> *Sent:* Wednesday, April 19, 2017 7:00 PM
> *To:* Openmeetings user-list <[email protected]>
> *Subject:* Warning!!!PossibleSpam Re: Permission issues (Access Denied)
> in room access while entering using web service
>
>
>
> It would be easier to help if you can provide response JSON
>
>
>
> On Wed, Apr 19, 2017 at 8:25 PM, K, Amit (MIND) <[email protected]>
> wrote:
>
> Dear Helpdesk,
>
>
>
> I am facing issue while accessing room by calling service.
>
>
>
> I went through the following steps:
>
>
>
> 1. I created a user through open meetings portal register option.
>
>
>
> 2. Called service and get SID by calling below API:
>
>
>
> $.ajax({
>
>                                 method : "GET",
>
>                                 url : "http://locallhost:5080/
> openmeetings/services/user/login",
>
>                                 data : {
>
>                                                 user : 'pkumar',
>
>                                                 pass : 'Mind1234'
>
>                                 },
>
>                                 dataType : "json",
>
>                                 error : function(jqXHR) {
>
>                                                 console.log(jqXHR.
> responseText);
>
>                                 },
>
>                                 success : function(result) {
>
>                                                 console.log(result.
> serviceResult.message);
>
>
> getSID(result.serviceResult.message);
>
>                                 }
>
>                 });
>
>
>
> 2  Called another service by passing SID and got hash successfully:
>
>
>
> $.ajax({
>
>                                                                 method :
> "POST",
>
>                                                                 url : "
> http://172.29.37.133:5080/openmeetings/services/user/hash?sid=";
>
>
>                                     + sid,
>
>                                                                 data : {
>
>
> user : JSON.stringify({
>
>
>                                     firstname : 'pkumar',
>
>
>                                     lastname : 'pkumar',
>
>
>                                     externalId : 'uid',
>
>
>                                     externalType : 'myCMS',
>
>
>                                     login : 'pkumar'
>
>
> }),
>
>
> options : JSON.stringify({
>
>
>                                     roomId : 1,
>
>
>                                     moderator : true,
>
>
>                                     showAudioVideoTest : true
>
>
> })
>
>                                                                 },
>
>                                                                 dataType
> : "json",
>
>                                                                 error :
> function(jqXHR) {
>
>
> console.log(jqXHR.responseText);
>
>                                                                 },
>
>                                                                 success :
> function(result) {
>
>
> window.location =  "http://localhost:5080/openmeetings/hash?secure="+
> result.serviceResult.message + "&;language=1";
>
>                                                                 }
>
>                                                 })
>
>
>
> 3. When call service to enter in room it shows "Access Denied. You have no
> rights to enter this room".
>
>
>
> Although at the time of installing openmeetings we have to create a user
> and when I try this user to enter in same room, it enters successfully but
> creates one more entry in user table of database.
>
>
>
> It will be more appreciable if you please share some user manual/document
> about how to use open meetings when accessing through API.
>
>
>
> Please guide.
>
>
>
> Thanks in advance.
>
>
> ------------------------------
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus/trojan/worms/malicious code transmitted
> by this email. www.motherson.com
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
> ------------------------------
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus/trojan/worms/malicious code transmitted
> by this email. www.motherson.com
>



-- 
WBR
Maxim aka solomax

Reply via email to