Ejemplo n.º 1
0
 /// <summary>
 /// This method provides a feedback for a received meeting request
 /// </summary>
 /// <param name="calendarId">The ID of the calendar</param>
 /// <param name="eventId">The ID of the meeting request</param>
 /// <param name="feedback">The feedback for the meeting request</param>
 /// <param name="comment">Any comment to include in the feedback, optional</param>
 public static void SendFeedbackForMeetingRequest(String calendarId,
                                                  String eventId,
                                                  MeetingRequestFeedback feedback,
                                                  String comment = null)
 {
     MicrosoftGraphHelper.MakePostRequest(
         String.Format("{0}me/calendars/{1}/events/{2}/{3}",
                       MicrosoftGraphHelper.MicrosoftGraphV1BaseUri,
                       calendarId, eventId, feedback),
         content: !String.IsNullOrEmpty(comment) ? new { Comment = comment } : null,
         contentType: "application/json");
 }
Ejemplo n.º 2
0
 /// <summary>
 /// This method provides a feedback for a received meeting request 
 /// </summary>
 /// <param name="calendarId">The ID of the calendar</param>
 /// <param name="eventId">The ID of the meeting request</param>
 /// <param name="feedback">The feedback for the meeting request</param>
 /// <param name="comment">Any comment to include in the feedback, optional</param>
 public static void SendFeedbackForMeetingRequest(String calendarId,
     String eventId,
     MeetingRequestFeedback feedback,
     String comment = null)
 {
     MicrosoftGraphHelper.MakePostRequest(
         String.Format("{0}me/calendars/{1}/events/{2}/{3}",
             MicrosoftGraphHelper.MicrosoftGraphV1BaseUri,
             calendarId, eventId, feedback),
             content: !String.IsNullOrEmpty(comment) ? new { Comment = comment } : null,
             contentType: "application/json");
 }