07-06-2017 05:38 PM
I am trying to download recorded meetings from my webex account using NBR APIs
as mentioned in this link.
Cisco DevNet: WebEx Conferencing - NBR Web Services API
For using DownloadNBRStorageFile API, I need the following parameters.
recordID | Long. | Unique identifier for each WebEx recording. |
siteID | Long. | Unique identifier for each WebEx site. |
ticket | String. | Ticket used to validate authentication and authorization. |
I believe I have to get ticket using GetStorageAccessTicket.
However, I am not able to figure out how to get siteId for my webex account (it is not
enterprise account, just an individual account).
My webex account is WebEx Meeting Center
Also, how I do get recordID needed in DownloadNBRStorageFile API ?
Any help is greatly appreciated.
Also, it will be very helpful if someone has working sample code which uses these APIs they can share.
Thanks in advance.
Solved! Go to Solution.
07-18-2017 04:17 AM
Put the download URL of any WebEx recording you have in new tab in chrome browser or any. After it asks for saving, save the file in your local. Now go to browser downloads section. There you will have the URL of the downloaded file. In that siteID will be there.
For recordID refer LstRecording method in XML API.
07-18-2017 04:17 AM
Put the download URL of any WebEx recording you have in new tab in chrome browser or any. After it asks for saving, save the file in your local. Now go to browser downloads section. There you will have the URL of the downloaded file. In that siteID will be there.
For recordID refer LstRecording method in XML API.
07-20-2017 01:46 PM
SiteID can also be obtained by contacting your WebEx Customer Success Manager.
07-28-2017 01:07 PM
Hello Padma,
How far did you get with this? I have been able to get my ticket, but when I use DownloadNBRStorageFile, my script or application times out. Also striking out with getNBRRecordIdList as this returns "No such operation 'getNBRRecordIdList.'" Any tips you can give would be appreciated.
Thank you!
07-29-2017 07:48 PM
Did not make any progress. I am not able to even get the ticket.
07-31-2017 06:11 AM
What are the ways you tried to generate ticket?
Which programming language you are using?
I am using PHP. I am able to generate the ticket and then download the recording.
07-31-2017 08:04 AM
I made some progress over the weekend. I imported the WSDL's into SoapUI, and that helped me iron out any formatting issues in the requests. As far as DownloadNBRStorageFile timing out on me, I think SoapUI and Postman are just not built for files that size. I was able to fix this in Python by streaming the http request and writing it to a file in chunks.
I have made it to the point where I have a python script that retrieves the storage access ticket, and then uses that ticket to download the file. However, I am having difficulty parsing the response. I get 3 pieces of content in the response
1) XML listing the Content-ID's of the two files
2) The file containing the recordings file name and RecordID
3) The actual .arf file
After I download it, I can open it in a text editor and take out all of the content ID headers so that there is only binary left in the file, and after I do that it will open in the ARF player. It would be best if I could find a way to parse the header info and just write two files as intended. But I am not sure the best way to go about it.
----EDIT----
I've got something that is working in my tests, but I'm sure there has to be a better way to do this. I am downloading everything into one file, reopening the file, splitting it based on matching a series of two carriage returns and new lines, then rewriting the 4th part of the split into a new file and deleting the old one. I don't feel really good about it because if the formatting for the http response is off by a little it could hose the whole script. I will work on it more later. Uploading the files for where I am now with it.
09-08-2017 07:08 AM
You can use getNBRRecordIdList API to retrieve all the recordings id for the site.
10-05-2017 04:30 AM
Hi Padma,
I have built a PHP package for NBR API. Please visit this URL for more information GitHub - rsathishtechit/webex: PHP WebEx package for XML and NBR API's.
This package allows you to retrieve all the recording ids from NBR API by using recordingList() method.
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