Please note: These WebEx forums have replaced the earlier site forums. All the previous threads and posts have been replicated here, and if you subscribed to the previous forums, please re-subscribe. Thank you.
« Back to Scheduling Meetings

How to send invitation email to attendees by using CreateMeeting XML API

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi All,
 
I have one problem with CreateMeeting XML API.
After I create a meeting, the webex never send the invitation email to attendees.
Please see the coding in follow and what should I do?
Anybody can help me?
 
CreatMeeting Send XML
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
    <securityContext>
        <webExID>__WEBEXID__</webExID>
        <password>__PASSWORD__</password>
        <siteID>__SITEID__</siteID>
        <partnerID>__PARTNERID__</partnerID>
        <email>__EMAIL__</email>
    </securityContext>
</header>
<body>
    <bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">
        <accessControl>
            <meetingPassword>test1234</meetingPassword>
        </accessControl>
        <metaData>
            <confName>After Luch Api Testing Meeting</confName>
            <meetingType>113</meetingType>
            <agenda>Test</agenda>
        </metaData>
        <participants>
            <maxUserNumber>4</maxUserNumber>
            <attendees>
                <attendee>
                    <person>
                        <name>sample1</name>
                        <email>sample1@sample.com</email>
                    </person>
                    <emailInvitations>TRUE</emailInvitations>
                </attendee>
                <attendee>
                    <person>
                        <name>sample2</name>
                        <email>sample2@sample.com</email>
                    </person>
                    <emailInvitations>TRUE</emailInvitations>
                </attendee>
            </attendees>
        </participants>
        <enableOptions>
            <chat>true</chat>
            <poll>true</poll>
            <audioVideo>true</audioVideo>
        </enableOptions>
        <schedule>
            <startDate>10/29/2010 15:00:00</startDate>
            <openTime>900</openTime>
            <joinTeleconfBeforeHost>false</joinTeleconfBeforeHost>
            <duration>20</duration>
            <timeZoneID>47</timeZoneID>
        </schedule>
        <telephony>
            <telephonySupport>CALLIN</telephonySupport>
            <extTelephonyDescription>
            Call 1-800-555-1234, Passcode 98765
            </extTelephonyDescription>
        </telephony>
        <attendeeOptions>
            <emailInvitations>TRUE</emailInvitations>
        </attendeeOptions>
    </bodyContent>
</body>
</serv:message>
 
 
 
CreateMeeting XML Response


<?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>348152973</meet:meetingkey>
<meet:iCalendarURL>
<serv:host>https://sample.webex.com/sample/j.php?ED=137210797&amp;UID=489168822&amp;ICS=MIFH&amp;ST=1</serv:host>
<serv:attendee>https://sample.webex.com/sample/j.php?ED=137210797&amp;UID=489168822&amp;ICS=MIFA&amp;ST=1</serv:attendee>
</meet:iCalendarURL>
<meet:guestToken>c41f7d38baa49f7696ed1e6fc018e3f5</meet:guestToken>
</serv:bodyContent>
</serv:body>
</serv:message>
 
 
The process is successful. But this coding sent the invitation email to HOST. I didn't find any invitation email in attendes email box. Could you help me for this problem?
 
 
With regards,
Nay La
 

Hi Nay La

You have to do that when adding attendees [.attendee.CreateMeetingAttendee] you will see one of the attributes are emailInvitations and set it to true then it will send the invitation when you create them

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service http://www.webex.com/schemas/2002/06/service/service.xsd">
<header>
<securityContext>
<webExID>xxxxxx</webExID>
<password>xxxxx</password>
<siteID>xxxxxx</siteID>
<partnerID>xxxxx</partnerID>
<email/>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.attendee.CreateMeetingAttendee">
<person>
<name>xxxxxxxxx</name>
<email>xxxxxx@xx.com</email>
<type>VISITOR</type>
</person>
<sessionKey>xxxxxx</sessionKey>
<emailInvitations>true</emailInvitations>
</bodyContent>
</body>
</serv:message>

Create a Cisco account today and gain access across all Cisco Collaboration Developer sites.

 

Follow the WebEx Developer program on Twitter for the latest industry and WebEx Meetings related information.