Cisco Unified Application Environment Developer Forums

« Back to Developers

XML API -Create Training session.(multiple attendees option-Email not send)

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hii,
 
 
I am creating training session using xml api.Successfully creating a training session but cannot send email for multiple attendees option
 
 
Code as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>

<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>

<email>johnsmith@xyz.com</email>

</securityContext>

</header>

<body>

<bodyContent xsi:type=

"java:com.webex.service.binding.training.CreateTrainingSession">

<accessControl>

<listing>PUBLIC</listing>

<sessionPassword>111111</sessionPassword>

</accessControl>

<schedule>

<startDate>4/05/2004 10:00:00</startDate>

<timeZone>GMT-12:00, Dateline (Eniwetok)</timeZone>

<duration>60</duration>

<timeZoneID>46</timeZoneID>

<openTime>20</openTime>

</schedule>

<metaData>

<confName>jimz hol test</confName>

<agenda>agenda 1</agenda>

<description>description</description>
<greeting>greeting</greeting>

<location>location</location>

<invitation>invitation</invitation>

</metaData>

<enableOptions>

<attendeeList>false</attendeeList>

<javaClient>false</javaClient>

<nativeClient>true</nativeClient>

<chat>false</chat>

<poll>false</poll>

<audioVideo>false</audioVideo>

<fileShare>false</fileShare>

<presentation>false</presentation>

<applicationShare>false</applicationShare>

<desktopShare>false</desktopShare>

<webTour>false</webTour>

<trainingSessionRecord>false</trainingSessionRecord>

<annotation>false</annotation>

<importDocument>false</importDocument>

<saveDocument>false</saveDocument>

<printDocument>false</printDocument>

<pointer>false</pointer>

<switchPage>false</switchPage>

<fullScreen>false</fullScreen>

<thumbnail>false</thumbnail>

<zoom>false</zoom>

<copyPage>false</copyPage>

<rcAppShare>false</rcAppShare>

<rcDesktopShare>false</rcDesktopShare>

<rcWebTour>false</rcWebTour>

<attendeeRecordTrainingSession>false

</attendeeRecordTrainingSession>

<voip>false</voip>

<faxIntoTrainingSession>false</faxIntoTrainingSession>

<autoDeleteAfterMeetingEnd>true</autoDeleteAfterMeetingEnd>

</enableOptions>

<telephony>

<telephonySupport>NONE</telephonySupport>

<numPhoneLines>4</numPhoneLines>

<extTelephonyURL>String</extTelephonyURL>

<extTelephonyDescription>String</extTelephonyDescription>

<enableTSP>false</enableTSP>

<tspAccountIndex>1</tspAccountIndex>

</telephony>

<tracking>

<trackingCode1>trackingCode1</trackingCode1>

<trackingCode2>trackingCode2</trackingCode2>

<trackingCode3>trackingCode3</trackingCode3>

<trackingCode4>trackingCode4</trackingCode4>

<trackingCode5>trackingCode5</trackingCode5>

<trackingCode6>trackingCode6</trackingCode6>

<trackingCode7>trackingCode7</trackingCode7>

<trackingCode8>trackingCode8</trackingCode8>

<trackingCode9>trackingCode9</trackingCode9>
<trackingCode10>trackingCode10</trackingCode10>

</tracking>

<repeat>

<repeatType>RECURRING_SINGLE</repeatType>

<dayInWeek>

<day>SUNDAY</day>

</dayInWeek>

<endAfter>5</endAfter>

<occurenceType>WEEKLY</occurenceType>

<interval>5</interval>

<dayInMonth>1</dayInMonth>

<weekInMonth>1</weekInMonth>

<monthInYear>1</monthInYear>

<dayInYear>1</dayInYear>

</repeat>

<remind>

<enableReminder>true</enableReminder>

<emails>

<email>String</email>

</emails>

<sendEmail>false</sendEmail>

<mobile>String</mobile>

<sendMobile>false</sendMobile>

<daysAhead>1</daysAhead>

<hoursAhead>1</hoursAhead>

<minutesAhead>1</minutesAhead>

</remind>

<presenters>

<participants>

<participant>

<person>

<name>alternatehost1</name>

<email>host1@test.com</email>

<type>MEMBER</type>

</person>

<role>HOST</role>

</participant>

</participants>

</presenters>

<attendees>

<participants>

<participant>

<person>

<name>alternatehost3</name>

<email>host3@test.com</email>

<type>MEMBER</type>

</person>

<role>HOST</role>

</participant>

<participant>

<person>

<name>alternatehost4</name>

<email>host4@test.com</email>

<type>MEMBER</type>

</person>

<role>HOST</role>

</participant>

</participants>
</attendees>
<attendeeOptions>
<request>true</request>
<registration>true</registration>
<auto>true</auto>

<registrationPWD>pass</registrationPWD>

<maxRegistrations>10</maxRegistrations>

<registrationCloseDate>04/10/2004 00:00:00

</registrationCloseDate>

<emailInvitations>true</emailInvitations>

</attendeeOptions>

</bodyContent>

</body>

</serv:message>
 
Red marked portion is for adding multiple attendees in the training session.Any one see the error please reply me.?