10-21-2015 01:48 PM
Hi, I try to create a conference through API, sending a POST request to TP Conductor. Here's an XML I send:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>factory.conferencecreate</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>authenticationUser</name>
<value><string>user</string></value>
</member>
<member>
<name>authenticationPassword</name>
<value><string>password</string></value>
</member>
<member>
<name>conferenceAlias</name>
<value><string>meet@example.com</string></value>
</member>
<member>
<name>factoryMinDurationMinutes</name>
<value><integer>120</integer></value>
</member>
<member>
<name>encryption</name>
<value><string>required</string></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
I got a following response:
<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>8002</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Can't deserialize input: list index out of range</string></value>
</member>
</struct></value>
</fault>
</methodResponse>
Please notice that the request works well when I ommit optional parameters (i.e. factoryMinDurationMinutes and encryption).
It would be also great if you could share with me some guide how to construct all this xml stuff, it's a pity there's not a single example in the Product Programming Reference Guide...
Best wishes,
Jarek
Solved! Go to Solution.
11-27-2015 12:43 AM
Hey,I have found out that we should use <int> instead of <integer>,and it work!! I can only say that the document is really so misleading..
11-25-2015 12:56 AM
Hi,did you find out the solution yet,I met this fault too
11-26-2015 05:01 AM
Hi, sorry to say but I didn't find any solution. We have to wait for a new version I'm afraid and keep our fingers crossed they'll resolve the issue.
11-26-2015 05:26 PM
Thank you for your reply, it 's so sorry that no expert can solve our problems
11-27-2015 12:43 AM
Hey,I have found out that we should use <int> instead of <integer>,and it work!! I can only say that the document is really so misleading..
12-04-2015 03:15 AM
Oh, that's the great news, I'm glad you solved the problem, thanks!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: