[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895788#comment-16895788
 ] 

perception edited comment on OPENMEETINGS-2096 at 7/30/19 5:06 AM:
-------------------------------------------------------------------

# Have you tried to search mailing lists? 
[https://openmeetings.markmail.org|https://openmeetings.markmail.org/]

No how it works?

2. Does the room with ID 101 exists in the system?

yes room exist.

 

3. What is NOT working for you?

in below link 2nd ajax code for generating room hash key

[https://openmeetings.apache.org/RestAPISample.html#_toc_how_to_get_room_hash_via_rest]


 $.ajax({ method: "POST", url: 
"services/user/hash?sid=78189aff-d68d-458a-8840-5b18d15a50b0", data: {user: 
JSON.stringify(

{ firstname: 'admin', lastname: 'admin', externalId: 'uid1', externalType: 
'myCMS', login: 'admin' }

), options: JSON.stringify(

{ roomId: 101, moderator: true, showAudioVideoTest: true }

)
 }, dataType: "json"})

4. Have you checked OM logs?
 I am trying with api request, like given above php code. How to check OM Logs?


was (Author: perception):
# Have you tried to search mailing lists? 
[https://openmeetings.markmail.org|https://openmeetings.markmail.org/]

No how it works?

2. Does the room with ID 101 exists in the system?

yes room exist.

 

3. What is NOT working for you?

 
$.ajax({  method: "POST",  url: 
"services/user/hash?sid=78189aff-d68d-458a-8840-5b18d15a50b0",  data: {user: 
JSON.stringify({      firstname: 'admin',      lastname: 'admin',      
externalId: 'uid1',      externalType: 'myCMS',      login: 'admin'      }),    
options: JSON.stringify({      roomId: 101,      moderator: true,      
showAudioVideoTest: true      })
    },  dataType: "json"})

4. Have you checked OM logs?
I am trying with api request, like given above php code. How to check OM Logs?

> Support for generating room hash key
> ------------------------------------
>
>                 Key: OPENMEETINGS-2096
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2096
>             Project: Openmeetings
>          Issue Type: Bug
>    Affects Versions: 4.0.9
>         Environment: ubuntu, using openmeetings 4.0.9 version
>            Reporter: perception
>            Assignee: Maxim Solodovnik
>            Priority: Major
>         Attachments: postman1.png, postman2.png
>
>
> Hello Sir,
>  
> We have followed below tutorial to generate room hash key 
>  
> [https://openmeetings.apache.org/RestAPISample.html#_toc_how_to_get_room_hash_via_rest]
>  
> First we have generate authorised SID{color:#495057} using below code{color}
> $.ajax({  method: "GET",  url: "services/user/login",  data: {user: 'admin', 
> pass: '12345'},  dataType: "json"});
> Now i need to generate room hash key using below code.
> $.ajax({  method: "POST",  url: 
> "services/user/hash?sid=78189aff-d68d-458a-8840-5b18d15a50b0",  data: {user: 
> JSON.stringify({      firstname: 'John',      lastname: 'Doe',      
> externalId: 'uid1',      externalType: 'myCMS',      login: 'superjohn'      
> }),    options: JSON.stringify({      roomId: 5,      moderator: true,      
> showAudioVideoTest: true      })
>     },  dataType: "json"})
> we have tried these steps in postman tool. Refer below my 2 screenshots. In 
> postman1.png, we have generated admin hash key by adding admin credentials, 
> Now i am going to create room hash key in postman2.png screenshot, but i 
> can't generate it. Please help me in 2nd screenshot about to generate room 
> hash key using postman. Please help me for generating room hash key using 
> postman.
> Thanks 
> Shakil



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to