Sorry if this turns into a double post but my original posting a week ago never got through moderator approval...
I'm trying to get information about specific recordings. I've used the following XML queries:
1) Use LstRecording
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><header>
<securityContext>
<webExID>id</webExID>
<password>secret</password>
<siteID>123456</siteID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.ep.LstRecording"><listControl><startFrom>0</startFrom><maximumNum>500</maximumNum></listControl><returnSessionDetails>true</returnSessionDetails><serviceTypes><serviceType>TrainingCenter</serviceType></serviceTypes></bodyContent>
</body>
</serv:message>
This returns a listing and I can iterate through these to see the details. Each recording has a unique RecordingID value:
<ep:recordingID>82750123</ep:recordingID>
So this part works correctly and as expected. The trouble is when I want to get the details using the RecordingID value.
2) Use GetRecordingInfo
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><header>
<securityContext>
<webExID>id</webExID>
<password>secret</password>
<siteID>123456</siteID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.ep.GetRecordingInfo"><recordingID>82750123</recordingID><isServiceRecording>false</isServiceRecording></bodyContent>
</body>
</serv:message>
This returns "FAILURE: Sorry, no record found". I don't understand why the listing works but the query to find details using the RecordingID doesn't work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello,
I believe this is due to setting isServiceRecording to false, when you are in fact pulling a list of service recordings for Training Center. Please try setting isServiceRecording to true to see if you get a successful response.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you, that worked. Just FYI, this turned out to be a setting that is not in the example for deleting recordings but was necessary.
https://developer.cisco.com/media/webex-xml-api/43DelRecording.html
It might be helpful to add this XML property to the example, even if it is just set to "false".
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello,
That value is not an option for DelRecording. It is listed in the example for GetRecordingInfo, however.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It looks like it is based on the XML schema. On line 1048 of schemas/2002/06/service/ep.xsd, "isServiceRecording" is listed under the "delRecording" entry.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello,
My mistake, it is part of delRecording, although it is optional. The bigger reference issue here is that the schema diagram is missing for this command. I'll notify the content management team about the needed update.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.