09-18-2020
09:37 AM
- last edited on
03-03-2022
08:55 AM
by
Adam Weeks, Webex Evangelism
Hello,
i'm trying to use command API to create webex event but i'm blocked to :
Use a template. I try to use this argument but not recognize :
<templateType>template custom</templateType>
I tried to use this site but don't know in which paragrapher this argument should take place.
here the code :
____________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<webExID>XXXX</webExID>
<password>XXXXXXX</password>
<siteName>XXXXXX</siteName>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.event.CreateEvent">
<accessControl>
<listing>UNLISTED</listing>
<sessionPassword>XXXXXXXX</sessionPassword>
</accessControl>
<metaData>
<sessionName>Event name</sessionName>
<templateType>template custom</templateType>
</metaData>
<schedule>
<startDate>12/1/2020 18:00:00</startDate>
<duration>45</duration>
<entryExitTone>NOTONE</entryExitTone>
</schedule>
<event:extOptions>
<event:registration>false</event:registration>
</event:extOptions>
<telephony>
<telephonySupport>CALLIN</telephonySupport>
<muteUponEntry>true</muteUponEntry>
</telephony>
</bodyContent>
</body>
</serv:message>
Thanks in advance for your help
Solved! Go to Solution.
03-02-2022 12:02 PM
Hello, templateType specifies the type of template to be used. Valid values are "user" or "site". You do not need to include this parameter, or you could use the createEvent session example here; https://developer.cisco.com/docs/webex-xml-api-reference-guide/#!createevent/createevent
03-02-2022 12:02 PM
Hello, templateType specifies the type of template to be used. Valid values are "user" or "site". You do not need to include this parameter, or you could use the createEvent session example here; https://developer.cisco.com/docs/webex-xml-api-reference-guide/#!createevent/createevent
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