Please note: These WebEx forums have replaced the earlier site forums. All the previous threads and posts have been replicated here, and if you subscribed to the previous forums, please re-subscribe. Thank you.
« Back to Scheduling Meetings

Enroll Event command and error - ThisEventIsInProgram

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
I'm testing out the URL API "EN: Enroll Event command" for Event Center from the Meeting Page for the Event Center (m.php).  I am sending a test registrant for and it is sending back the error "ThisEventIsInProgram".  This is true, it is an event that is part of a program.  But what does this error mean? I can't find any explanation of it in the URL API Refernce Guide or in the forums. 

The full URL response:
 
https://domain.webex.com/mw0307l/mywebex/default.do?siteurl=domain&AT=EN&RS=ThisEventIsInProgram&ST=FAIL

Can anyone explain what the issue is here?

Is there someone who develops or supports the WebEx API that could explain this error further? As far as I've found the documentation is lacking the proper explanation.

This error message just indicates that the failure is because the event is in a program. The URL API does not support events that are in a program. Unfortunately, the guide doesn't make this clear but removing the event from the program would correct this error.

Thanks for the reply.

Is there any alternate support for programs via API? I haven't found anything in the documentation about working with programs or events within programs (other than this error). My events for the next few months are already organized into programs and I don't want to break them all out individually now.

If you're willing and able to use the XML API instead of URL API, you will be able to enroll attendees in events that are part of a program using CreateMeetingAttendee. CreateMeetingAttendee is intended to invite attendees to a session, but doubles as a registration/enrollment request by setting the joinStatus value to REGISTER or ACCEPT (ACCEPT automatically approves the registration, REGISTER just submits a request for registration). The XML API does require some additional coding compared to URL API, there are some simple code samples available to get you started in the documentation area of this site.

I just put another message requesting the same thing, unfortunately for my project, removing every event out of a program is not an option and I also can't use the XML API
 
I hope there is some sort of way to do this otherwise.

Nathan, thanks for that reply on 8/24 - I didn't see the update until now with Greg's reply. I haven't looked at the XML API yet but I'll give that a shot. Sounds promising for my situation. Thanks for the guidance.

Create a Cisco account today and gain access across all Cisco Collaboration Developer sites.

 

Follow the WebEx Developer program on Twitter for the latest industry and WebEx Meetings related information.