cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
923
Views
25
Helpful
1
Replies

API webex event (template and call in )

Pierrick
Level 1
Level 1

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.

https://developer.cisco.com/docs/webex-xml-api-reference-guide/#!elements-in-webex-xml-schema-definitions-for-the-event-session-service

 

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

1 Accepted Solution

Gasper A
Cisco Employee
Cisco Employee

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

View solution in original post

1 Reply 1

Gasper A
Cisco Employee
Cisco Employee

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