Could you please assist with info on the following: (Shared sandbox server used, related discussion cannot retrieve participants via SessionService):
User A sees a list of meetings (some are hosted by him, some are hosted by user B).
When user A wants to retrieve the appropriate URL for the meeting I should call GethosturlMeeting if he is the host and GetjoinurlMeeting if user B is the host. I want that url to send the user directly to the meeting. Currenty only the GetjoinurlMeeting service is returning a usable url, GethosturlMeeting is sending user A to "My Meetings section". Here are the urls returned:
mineHostURL = "https://apidemoeu.webex.com/apidemoeu/p.php?AT=LI&WID=stanuuu&TK=ed8e2dbcc006805761f870c89e1c10815147bd52c2a8b1909fab3cba2d88a88a&MU=https%3A%2F%2Fapidemoeu.webex.com%2Fapidemoeu%2Fm.php%3FAT%3DHM%26MK%3D623399937%26Rnd%3D0.5773344163293991";
what url I receive on email -> https://apidemoeu.webex.com/apidemoeu/j.php?ED=306545757
mineJoinURL = "https://apidemoeu.webex.com/apidemoeu/e.php?AT=SI&MK=623399937";
Here is the example responses from the documentation:
exampleJoinURL = "https://rose22.webex.com/rose22/m.php?AT=JM&MK=48591508&AN=James Kirk&PW=pass123";
mineJoinURL is OK, but mineHostURL is not
Any suggestions on how do I fix this? Is there something specific related to the sandbox, or something that should be taken into account when creating the meeting (some options). I need to retrieve the same urls, as their appear in the email (join links)
What is the actual error or response being returned when your host URL does not work? In the browser address bar it should show something like "?AT=HM&ST=FAIL&RS=ErrorMessage".
Thanks for the fast response.
The errorMessage is &ST=FAIL&RS=InvalidTicket.
When I call GethosturlMeeting I pass sessionKey and the request header security context is set up with the host of the meeting.
There must be something else I should consider? May be when creating the meeting? I've noticed that there is a difference between the response I get and the one shown in the documentation, that being &PW=pass -> is that a user password or a meeting password and is that related.
Currently when creating a meeting I'm adding attendees by setting their email. Do I have to set up all their properties so that when they request joinUrl the API will return a more instant like url. (same goes for the host -> how do I set up the security context, so the hostUrl returned is more like instant url - do I put <webexID> or <email> or both?
Is the issue that the host link never works or doesn't work after first use? The error "InvalidTicket" indicates that the login ticket was already used. The ticket (TK value) is a one-time use ticket so you would need to generate a new host link for each use. The ticket is a more secure method as it does not expose the user's password and also prevents subsequent uses if was exposed. You can still build you own using our URL APIs (https://developer.cisco.com/fileMedia/download/4588769e-3624-4778-9aa6-9456e8336a2f) if needed. However this would just be the manual way of generating the host link returned by the XML API.
The "InvalidTicked" error in the url appears after I test it for a second time (that seems to be normal).
The initial error message is -> "&RS=InvalidMT", which should indicate "invalid meeting type" according to the URL doc.
Just to mention that I'm using the sandbox server to develop/test and it supports only "10L" type of meetings, so that's the one I set when creating the meeting. Is that related?
What I really want to know is how do I retrieve the urls that will send me directly (skipping the login as well?) to the webex meeting. What must I do to build/extract urls that look like the ones that are generated in the emails after creating a meeting (https://apidemoeu.webex.com/apidemoeu/j.php?ED=306894692 )
Please respond with some guidance, because that is a blocker issue for me and I ran out of ideas. Thanks in advance.
The URLs returned by GethosturlMeeting and GetjoinurlMeeting (assuming you pass in all required information) will return URLs to take you directly into the meeting. Generally to join a meeting as a participant you need to enter your name, email, password, and sometimes a registration ID. All the information required for your particular meeting must be sent in GetjoinurlMeeting for the system to generate a full URL. If you do not pass all the required info, the user must be taken to the session information page to enter the remaining information. You can also reference the URL API WBS 27 Reference guide on how to build your own join URL manually (m.php?AT=JM) to take you directly into the meeting.
Thanks for the response. As I said the join url is just fine - I will improve it with more information for the user so the url will be more complete.
The problem is with host url, there is nothing else I can pass to the GethosturlMeeting service except the meetingKey. In the header context I put the host webexId. As a result when I try to go to the address I see "&RS=InvalidMT". How is the meeting type related here, I don't get it. (the only thing that comes to mind is that I created all meetings as type 10L, because its the single type the shared sandbox server is supporting.
Can I use join url for the host?
My apologies, your previous post indicated you wanted URLs to send you directly into the meeting so I thought you were referring to the join URL. Sorry I'm not familiar with the "10L" meeting type. Can you please provide a copy of your actual scheduling request so I can take a look? You can exclude all the login credentials and API security information. I mainly need to see the body of the request. From the error it sounds like the meeting type being used is not valid for the service. I ran a few tests on apidemoeu.webex.com but am not able to duplicate your error. I'm able to schedule/start/join without problems using the APIs.