Getting response message from MS Graph API for booking created via Create Event.

mansiGeo 21 Reputation points
2022-11-17T17:12:58.407+00:00

Hello,

I am using Create event API from MS Graph API to create a booking. Once the booking is successful or if booking gets declined, I get an email with text - "Your request was accepted." for accepted request and "Your meeting request was declined. This resource doesn't accept meetings longer than 1440 minutes." for declined reservations.

I query my reservations using List events API which returns me a collection of events of type 'Event' which also has status of the reservation. I use responseStatus to get the status of each reservation which lets me know if the reservation was accepted or declined, however I am not finding any API which could give me the response message or reason for declined request.

I did come across 'Decline Event' API and 'Accept Event' API but it doesn't return anything in the successful response. Is there a way to get the response text i.e. "Your request was accepted." or "Your meeting request was declined. This resource doesn't accept meetings longer than 1440 minutes." via MS Graph API?

Thanks for reading!

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,826 Reputation points
    2022-11-18T00:03:38.517+00:00

    Hello @mansiGeo

    Thanks for reaching out!

    Getting a response message or reason when someone accepts/rejects a meeting is not available using Graph API. Only these are the event resource properties which are supported in v1.0 as a request/response to the Events Graph API.

    However, to know the response status of an attendee or organizer for a meeting request, one can use responseStatus property.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.