cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
717
Views
0
Helpful
2
Replies
Highlighted
Beginner

Unspecified Error - Recurring Conferences

Hi All,

What's the proper way to invoke the SaveConferenceRecInstance using the 14.1.1 API?

  TMSBooking.BookingService service = new TMSBooking.BookingService();

  service.Credentials = new NetworkCredential(username, pw, domain);

   service.ExternalAPIVersionSoapHeaderValue = new TMSBooking.ExternalAPIVersionSoapHeader();

   ExternalAPIVersionSoapHeaderValue.ClientVersionIn = 10;

//I have a recurring conference, I get one of the occurrences by ID:

TMSBooking.Conference c = service.GetConferenceById(OccurrenceID);

//change the end time based on the user time zone.

c.EndTimeUTC = TimeZoneInfo.ConvertTimeToUtc(dtpEnd.Value, UserTimeZone).ToString("u");

//I don't specify the recurrence pattern as this is invalid according to the API.

service.SaveConferenceRecInstance(c); // throws unspecified error

Any pointers on this?  Thanks in advanced.

2 REPLIES 2
Beginner

Re: Unspecified Error - Recurring Conferences

Looking at the logs:

System.ArgumentNullException: String reference not set to an instance of a String.

Parameter name: s

   at System.DateTimeParse.ParseExact(String s, String format, DateTimeFormatInfo dtfi, DateTimeStyles style)

   at System.DateTime.ParseExact(String s, String format, IFormatProvider provider, DateTimeStyles style)

   at Tandberg.TMS.External.Booking.ExTMSAttributeMapper.MakeDateTime(String UTCString)

   at Tandberg.TMS.External.Booking.BookingService.SaveConference(ExConference exConfIn, Boolean bSingleInstance, Boolean includeSipAnd3G, Boolean includeWebconferenceAndRecordingUri)

Note the 14.4 API says that unspecified errors should look at:

/tms/data/logs/tmsdebug/log-web.txt

However I believe it should be coming from

/tms/data/logs/tmsdebug/log-web-external.txt

as that error strongly correlates to what I'm seeing.  Can someone confirm this?

Highlighted
Beginner

Re: Unspecified Error - Recurring Conferences

I get the same results.  I pull an instance of a recurring meeting with GetConferenceById but when I try to save it with SaveConferenceRecInstance then it throws an error with the message "Conference exceptions cannot be recurrent".  If I just use the the SaveConference method, then it will update the entire series, which is not what I'm looking for.  I've also tried the GetRecurrentConferenceById method combined with the SaveConferenceRecInstance method and still am not able to save and changes I make to the instance.

CreatePlease to create content
This widget could not be displayed.