DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1

Example 10-16 shows how to make an API call to add a
new attendee ([email protected]) to the meeting and
send an email invitation to that person.


Example 10-16 Adding a New User to a Meeting by
Using the SetMeeting API


Click here to view code image


curl -X POST \
https://api.Webex.com/WBXService/XMLService \
-H 'cache-control: no-cache' \
-H 'content-type: application/xml' \
-d '<serv:message
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
<header>
<securityContext>
<WebexID>devasc</WebexID>
<password>Kc5Ac4Ml</password>
<siteName>apidemoeu</siteName>
</securityContext>
</header>
<body>
<bodyContent
xsi:type="java:com.Webex.service.binding.meeting.SetMeeting">
<meetingkey>625579604</meetingkey>
<participants>
<attendees>
<attendee>
<person>
<email>[email protected]</email>
</person>
</attendee>
</attendees>
</participants>
<attendeeOptions>
<emailInvitations>true</emailInvitations>
</attendeeOptions>
<schedule>
<openTime>300</openTime>
</schedule>
</bodyContent>
</body>
</serv:message>'
Free download pdf