question

KrishnalakshmiViswanathanAWF-2525 avatar image
0 Votes"
KrishnalakshmiViswanathanAWF-2525 asked NiketaMane-4916 edited

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

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://docs.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://docs.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-teamwork
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DianaWanjuhi-1579 avatar image
0 Votes"
DianaWanjuhi-1579 answered NiketaMane-4916 edited

Hello @KrishnalakshmiViswanathanAWF-2525 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.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @DianaWanjuhi-1579 ,

When i try to update using: PATCH /users/{id | userPrincipalName}/calendar/events/{id} for a particular user( who has multiple invites sent from his calendar) and supply in unique iCalUId, the update does not reflect in the calendar and it updates on the first iCalUId in the users calendar.
Can you please help how we can tackle this ?

0 Votes 0 ·
KrishnalakshmiViswanathanAWF-2525 avatar image
0 Votes"
KrishnalakshmiViswanathanAWF-2525 answered

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?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KrishnalakshmiViswanathanAWF-2525 avatar image
0 Votes"
KrishnalakshmiViswanathanAWF-2525 answered

Hi Team,
Is it possible to forward an invite to new recipients using Update event - https://docs.microsoft.com/en-us/graph/api/event-update?view=graph-rest-
1.0&tabs=http#http-request

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.