Hi Dario, I'm new in the OM world and I consider that I don't understand very well the service operations yet, buy maybe I can help you.
I do the fallowing steps to get the room hash: 1. getSession 2. loginUser 3. addRoomWithModerationAndExternalType 4. getRoomIdByExternalId (Just for now, I'm generating a random number for this. Make sure that every external ID is unique. Store this ID to use it later, in other methods). 5. setUserObjectAndGenerateRoomHash (using the Room ID that you got in the previous step) I understand that externalUserId and externalUserType are fields that you provide to the room and you can use them later to retrieve some information of the room (like files generated). Hope this helps. 2014-10-17 13:14 GMT-03:00 Dario Guida <[email protected]>: > I don’t understand how the setUserObjectAndGenerateRoomHash work. > > > > I post How I use it in java with Soap WebService > > > > Step 1 : SESSION ID > > > > Sessiondata session = userEndPoint.getSession(); > > sessionId = session.getSession_id(); > > > > Step 2 : LOGIN USER > > > > long userId = userEndPoint.loginUser(sessionId, username, password); > > > > Step 3 : ROOM HASH > > > > String roomHash = userEndPoint.setUserObjectAndGenerateRoomHash(sessionId, > username, “firstName”, “lastName”, "xx", “[email protected]”, “99” , "APP", 30, > 1 , 0); > > > > I don’t understand : > > > > 1) What is externalUserId and externalUserType and what they do? > > 2) Why the system create a new User with username, “firstName”, “lastName” > ?? I have used a valid user in loginUser() and I have associated an > hash to this user or I don’t understand??? > > 3) Why if I set becomeModeratorAsInt = 1 when I enter in the room …the > system show me the message “wait for moderator” ?? I have checked the the > username password I use in loginUser have admin,Soap,login permissions. > > > > Thanks to all
