cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
748
Views
0
Helpful
2
Replies

CreateMeeting XML API - Response link generated forces to save .ics file

I'm consuming WebEx XML API to create webex invite from our application. The link generated in response xml forces user to download .ics file. The actual link to webex is embedded inside this .ics file. Is there a way to directly get the link to webex meeting?

Request XML:

<?xml version="1.0" encoding="ISO-8859-1"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<header>

<securityContext>

<webExID>userid</webExID>

<password>PASSWORD</password>

<siteID>SITE_ID</siteID>

<partnerID>PARTNER_ID</partnerID>

</securityContext>

</header>

<body>

<bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">

<metaData>

<confName>subject</confName>

<agenda>Please Check mail</agenda>

</metaData>

<enableOptions>

<chat>true</chat>

<audioVideo>true</audioVideo>

</enableOptions>

<schedule>

<startDate>08/27/2017 12:18:45</startDate>

<joinTeleconfBeforeHost>true</joinTeleconfBeforeHost>

<duration>30</duration>

<timeZoneID>41</timeZoneID>

</schedule>

<telephony>

<telephonySupport>CALLIN</telephonySupport>

<extTelephonyDescription>

Call 1-800-555-1234, Passcode 98765

</extTelephonyDescription>

</telephony>

</bodyContent>

</body>

</serv:message>

Response XML

<?xml version="1.0" encoding="ISO-8859-1"?>

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service"

xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting"

xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee">

<serv:header>

<serv:response>

<serv:result>SUCCESS</serv:result>

<serv:gsbStatus>PRIMARY</serv:gsbStatus>

</serv:response>

</serv:header>

<serv:body>

<serv:bodyContent xsi:type="meet:createMeetingResponse"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<meet:meetingkey>577440140</meet:meetingkey>

<meet:iCalendarURL>

<serv:host>https://group-communication2.webex.com/group-communication2/j.php?MTID=m2135dbf16d0197176f12a3684e3cf7de

</serv:host>

<serv:attendee>https://group-communication2.webex.com/group-communication2/j.php?MTID=m8769122b7b1d886141ac386a38a2a518

</serv:attendee>

</meet:iCalendarURL>

<meet:guestToken>7e7f4cb8af3cbaeeee2c279a74af877d</meet:guestToken>

</serv:bodyContent>

</serv:body>

  </

serv:message>

WebEx link generated by consuming WebEx XML API:

https://group-communication2.webex.com/group-communication2/j.php?MTID=m2135dbf16d0197176f12a3684e3cf7de

  • Clicking above link downloads .ics file, which contains the link to "Join WebEx meeting"
  • This forces user to manually add appointment to calendar
  • Expected result is to embed the "Join WebEx meeting" link directly in the application



1 Accepted Solution

Accepted Solutions

ryanhunt
Level 5
Level 5

GetjoinurlMeeting

This API request will return a WebEx generated Join Meeting URL API (joinMeetingURL).  The response may also include an (inviteMeetingURL) which can be used by mobile or PC users to join the meeting.   While joinMeetingURL url value will put the attendee directly into the meeting, the inviteMeetingURL value will bring the user to the WebEx site or mobile client and require them to manually enter their information and click the join button.  The URL’s returned by this XML API are not single use, and can be used multiple times but are still specific to the individual participant so you will need to request this URL for each participant separately.

Request:

<?xml version="1.0" encoding="UTF-8"?>

<serv:messagexmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <header>

        <securityContext>

            <webExID>HOST_USERNAME</webExID>

            <password>PASSWORD</password>

            <siteName>SITENAME</siteName>

        </securityContext>

    </header>

    <body>

        <bodyContent xsi:type="java:com.webex.service.binding.meeting.GetjoinurlMeeting">

            <sessionKey>SESSION_NUMBER_OR_MEETING_NUMBER</sessionKey>

            <attendeeName>PARTICIPANT NAME</attendeeName>

            <attendeeEmail>participant@example.com</attendeeEmail>

            <meetingPW>MEETING_PASSWORD</meetingPW>

        </bodyContent>

    </body>

</serv:message>

Response:

<serv:message>

    <serv:header>

        <serv:response>

            <serv:result>SUCCESS</serv:result>

            <serv:gsbStatus>PRIMARY</serv:gsbStatus>

        </serv:response>

    </serv:header>

    <serv:body>

        <serv:bodyContentxsi:type="meet:getjoinurlMeetingResponse">

            <meet:joinMeetingURL>https://SITENAME.webex.com/SITENAME/m.php?MTID=12345432107b83698a01388003caa9374</meet:joinMeetingURL>

            <meet:inviteMeetingURL>https://SITENAME.webex.com/SITENAME/j.php?ED=444555666&UID=0&RT=MxMxMQ%3D%3D</meet:inviteMeetingURL>

        </serv:bodyContent>

    </serv:body>

</serv:message>

View solution in original post

2 Replies 2

ryanhunt
Level 5
Level 5

GetjoinurlMeeting

This API request will return a WebEx generated Join Meeting URL API (joinMeetingURL).  The response may also include an (inviteMeetingURL) which can be used by mobile or PC users to join the meeting.   While joinMeetingURL url value will put the attendee directly into the meeting, the inviteMeetingURL value will bring the user to the WebEx site or mobile client and require them to manually enter their information and click the join button.  The URL’s returned by this XML API are not single use, and can be used multiple times but are still specific to the individual participant so you will need to request this URL for each participant separately.

Request:

<?xml version="1.0" encoding="UTF-8"?>

<serv:messagexmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <header>

        <securityContext>

            <webExID>HOST_USERNAME</webExID>

            <password>PASSWORD</password>

            <siteName>SITENAME</siteName>

        </securityContext>

    </header>

    <body>

        <bodyContent xsi:type="java:com.webex.service.binding.meeting.GetjoinurlMeeting">

            <sessionKey>SESSION_NUMBER_OR_MEETING_NUMBER</sessionKey>

            <attendeeName>PARTICIPANT NAME</attendeeName>

            <attendeeEmail>participant@example.com</attendeeEmail>

            <meetingPW>MEETING_PASSWORD</meetingPW>

        </bodyContent>

    </body>

</serv:message>

Response:

<serv:message>

    <serv:header>

        <serv:response>

            <serv:result>SUCCESS</serv:result>

            <serv:gsbStatus>PRIMARY</serv:gsbStatus>

        </serv:response>

    </serv:header>

    <serv:body>

        <serv:bodyContentxsi:type="meet:getjoinurlMeetingResponse">

            <meet:joinMeetingURL>https://SITENAME.webex.com/SITENAME/m.php?MTID=12345432107b83698a01388003caa9374</meet:joinMeetingURL>

            <meet:inviteMeetingURL>https://SITENAME.webex.com/SITENAME/j.php?ED=444555666&UID=0&RT=MxMxMQ%3D%3D</meet:inviteMeetingURL>

        </serv:bodyContent>

    </serv:body>

</serv:message>

Thanks a lot for quick response. We could now successfully get the joinMeetingURL with your help.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: