cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
917
Views
0
Helpful
3
Replies

MCU API Post method

Hi all,

We are planning to create 2 conferences at once on MCU by using it's API.

But  with xml below,  only "Meeting 1" is created.

Is there any syntax error?

The model of MCU is MCU4510, SW version:4.3(2.18), and

we use "WizTools.org RESTClient 2.4" to post XML.

<?xml version="1.0"?>

    <methodCall>

        <methodName>conference.create</methodName>

            <params>

                <param>

                    <value>

                        <struct>

                            <member>

                                <name>authenticationUser</name>

                                    <value>

                                        <string>admin</string>

                                    </value>

                            </member>  

                            <member>

                                <name>authenticationPassword</name>

                                    <value>

                                        <string>password</string>

                                    </value>

                            </member> 

                            <member>

                                <name>conferenceName</name>

                                    <value>

                                        <string>Meeting 1</string>

                                    </value>

                            </member> 

                            <member>

                                <name>startTime</name>

                                    <value>

                                        <dateTime.iso8601>20120607T10:45:00</dateTime.iso8601>

                                    </value>

                            </member>

                            <member>

                                <name>durationSeconds</name>

                                    <value>

                                        <int>3600</int>

                                    </value>

                            </member> 

                            <member>

                                <name>conferenceName</name>

                                    <value>

                                        <string>Meeting 2</string>

                                    </value>

                            </member>

                            <member>

                                <name>startTime</name>

                                    <value>

                                        <dateTime.iso8601>20120607T10:45:00</dateTime.iso8601>

                                    </value>

                            </member>

                            <member>

                                <name>durationSeconds</name>

                                    <value>

                                        <int>3600</int>

                                    </value>

                            </member>

                        </struct>

                    </value>

                </param>

            </params>

    </methodCall>

1 Accepted Solution

Accepted Solutions

Tomonori Taniguchi
Cisco Employee
Cisco Employee

Sorry this is not directly answering what you are looking for, however any particular reason you are looking for to include two conference creation request queue into one post message?

We highly recommend each post contain single conference management (create with conference parameters, modify/update with conference parameters, delete) message.

This will making sure response from MCU (200 OK on Post) relay on single request and also not overload MCU for processing multiple query from single post.

Also when become troubleshooting/diagnostic, make it easier to follow the process.

View solution in original post

3 Replies 3

Tomonori Taniguchi
Cisco Employee
Cisco Employee

Sorry this is not directly answering what you are looking for, however any particular reason you are looking for to include two conference creation request queue into one post message?

We highly recommend each post contain single conference management (create with conference parameters, modify/update with conference parameters, delete) message.

This will making sure response from MCU (200 OK on Post) relay on single request and also not overload MCU for processing multiple query from single post.

Also when become troubleshooting/diagnostic, make it easier to follow the process.

Hi Taniguchi-san,

We are planning to create/destroy hundreds of conferences on MCU.

In that case, we should overwrite configuration.xml, but I thought if we could create/destroy many conferences at once by using its API, it is safer way than overwriting the configuration.xml.

You mean we'd better to find the way to query POST repetitively?

Kotaro

Tomonori Taniguchi
Cisco Employee
Cisco Employee

You may create and destroy as well as modify existing conference on MCU by using API.

However each RPC/XML post should contain command(s) for single conference to manage it remotely.

In other words, “conference.create” method call should have single conference creation (you may add conference parameters as much as needed within that single conference).