cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

510
Views
2
Helpful
1
Replies
shady730
Beginner

How can I create multiple attendees in same time using XMl API

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. 

1 REPLY 1
nmorrow
Cisco Employee

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>

Content for Community-Ad

This widget could not be displayed.