What is the id in PATCH /me/events/{id}

Krishnalakshmi Viswanathan (AWF) 136 Reputation points
2021-06-02T06:36:56.04+00:00

I would like to update or forward an invite. Please clarify what is the id in the HTTP request for both updat event and forward event api.

  1. Update event - https://learn.microsoft.com/en-us/graph/api/event-update?view=graph-rest-
    1.0&tabs=http#http-request
    Should we pass iCALId? like this?
    "iCalUId": "iCalUId-value",
  2. Forward event - https://learn.microsoft.com/en-us/graph/api/event-forward?view=graph-rest-1.0&tabs=http

Is this event id ("id":"AAMkAGI1AAAt9AHjAAA=",)created while using create event api?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,838 questions
0 comments No comments
{count} votes

Accepted answer
  1. Diana Wanjuhi 1,376 Reputation points
    2021-06-03T06:23:14.833+00:00

    Hello @Krishnalakshmi Viswanathan (AWF) thank you for reaching out. You are correct, the event id is a read-only value created when the event is created either via API or the client. From the event resource properties, iCalUId is a unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. To update or forward the event, you should use the id in the request url - then pass the iCalUId in the request body to make changes to one event in a series.

    Please also consider upvoting the answer if it helps and feel free to reach out with any questions,

    Diana.


2 additional answers

Sort by: Most helpful
  1. Krishnalakshmi Viswanathan (AWF) 136 Reputation points
    2021-06-03T08:35:45.883+00:00

    Got it thanks!
    Out of these, which one should be used to update/forward an invite

    POST /me/events/{id}/forward - For the signed in user ?
    POST /users/{id | userPrincipalName}/events/{id}/forward - ? Is this userId and how should we get this ID
    POST /groups/{id}/events/{id}/forward - ? Is this userId and how should we get this ID

    Is it possible to update an invite which is sent by some one using graph api?

    0 comments No comments

  2. Krishnalakshmi Viswanathan (AWF) 136 Reputation points
    2021-06-15T12:24:23.973+00:00

    Hi Team,
    Is it possible to forward an invite to new recipients using Update event - https://learn.microsoft.com/en-us/graph/api/event-update?view=graph-rest-

    1. 0&tabs=http#http-request
    0 comments No comments

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.