示例#1
0
        /// <summary>
        /// This method free up the reserved slots
        /// </summary>
        /// <param name="calendarId"></param>
        /// <param name="ordinalNumber"></param>
        public static void FreeUpSlots(int calendarId, int ordinalNumber)
        {
            List <int> listIntSlots = new List <int>();

            //here we need to add the ordinal number an the id resarvation cause, if don'0t have reservations you should create them
            listIntSlots.Add(ordinalNumber);

            string typeSerializer = "XML";

            WebAppoinmentsClientLibrary.Calendars calendars = new WebAppoinmentsClientLibrary.Calendars();
            calendars.FreeUpSlots(calendarId, listIntSlots, typeSerializer);
        }