Skip to main content
Participant
July 3, 2013
Answered

Create a virtual classroom via Adobe Connect 9 Web Services

  • July 3, 2013
  • 2 replies
  • 1815 views

Is it possible to create a virtual classroom via Adobe Connect 9 Web Services? I could not find a way in "Using Adobe Connect 9 Web Services" documentation.

This topic has been closed for replies.
Correct answer ruslanbes

The answer of Jorma Jenning is almost correct. I investigated it myself and finally made a working solution.

The trick is that virtual classroom does not have a special type, instead it is a "meeting inside trainings folder with the icon of virtual-classroom". Kinda strange logic and to add another level of hell the "trainings folder" is the one with the type "my-courses", so, finally, we get the the following workflow:

1. Call h-ttps://example.com/api/xml?action=sco-shortcuts and filter sco-s until you find one with the type="my-courses" and remember its sco-id — this will be your folder-id.

2. call  h-ttps://example.com/api/xml?action=sco-update&type=meeting&icon=virtual-classroom&name=October All Hands Meeting

          &folder-id=2006258750&date-begin=2006-10-01T09:00

          &date-end=2006-10-01T17:00&url-path=october

The thing with icon is important.

Note that if you call report-my-training service immediately after sco-update you won't see this virtual-classroom. This is because the default permissions do not allow that. Add yourself to the user list via permissions-update and it will appear in your training list. This is different from creating virtual classroom from web interface as there you are added as a host by default.

2 replies

ruslanbes
ruslanbesCorrect answer
Participant
September 30, 2014

The answer of Jorma Jenning is almost correct. I investigated it myself and finally made a working solution.

The trick is that virtual classroom does not have a special type, instead it is a "meeting inside trainings folder with the icon of virtual-classroom". Kinda strange logic and to add another level of hell the "trainings folder" is the one with the type "my-courses", so, finally, we get the the following workflow:

1. Call h-ttps://example.com/api/xml?action=sco-shortcuts and filter sco-s until you find one with the type="my-courses" and remember its sco-id — this will be your folder-id.

2. call  h-ttps://example.com/api/xml?action=sco-update&type=meeting&icon=virtual-classroom&name=October All Hands Meeting

          &folder-id=2006258750&date-begin=2006-10-01T09:00

          &date-end=2006-10-01T17:00&url-path=october

The thing with icon is important.

Note that if you call report-my-training service immediately after sco-update you won't see this virtual-classroom. This is because the default permissions do not allow that. Add yourself to the user list via permissions-update and it will appear in your training list. This is different from creating virtual classroom from web interface as there you are added as a host by default.

sameer_puri
Adobe Employee
Adobe Employee
July 3, 2013

Hi teomanx,

Nothing has changed in VC. It can still be created under Training tab in the webapp, similar to way it did in Connect 8.

Let me know if you meant something else, but i mis-understood.

Thanks

Sameer Puri

teomanxAuthor
Participant
July 3, 2013

Thank you for the reply Sameer but I am asking to create VC via web services(I mean by code), not from user interface.

Jorma_at_Knox
Legend
July 3, 2013

Have you tried using the process for creating a meeting (bottom of page 33 in the Webservices doc), but call to a Training folder id and when doing the sco-update call calling it at virtual classroom: type=virtual-classroom?

It may work.

Call sco-update to create the meeting room:
    h ttps://example.com/api/xml?action=sco-update
          &type=virtual-classroom&name=October All Hands Meeting
          &folder-id=2006258750&date-begin=2006-10-01T09:00
          &date-end=2006-10-01T17:00&url-path=october