02-27-2014 06:03 PM
Hi.
I'm using the XML API "com.webex.service.binding.attendee.CreateMeetingAttendee" to create Attendee and it only creates one attendee per time how can make it creates more than one attendee at a time.
02-28-2014 10:44 AM
Hello,
CreateMeetingAttendee does support multiple attendees in one request. The first attendee will be entered in the same way you have been doing, as the <person> in <bodyContent> is required. For additional attendees, you would add the <attendees> block, which houses infinite <attendee>s. Example:
<?xml version="1.0"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<webExID>hostid</webExID>
<password>hostpassword</password>
<siteID>0000</siteID>
<partnerID>9999</partnerID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.attendee.CreateMeetingAttendee">
<person>
<name>attendee1</name>
<email>attendee1@test.com</email>
</person>
<sessionKey>000000000</sessionKey>
<attendees>
<attendee>
<person>
<name>attendee2</name>
<email>attendee2@test.com</email>
</person>
<sessionKey>000000000</sessionKey>
</attendee>
<attendee>
<person>
<name>attendee3</name>
<email>attendee3@test.com</email>
</person>
<sessionKey>000000000</sessionKey>
</attendee>
</attendees>
</bodyContent>
</body>
</serv:message>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide