Forum Discussion
rebeckam
Apr 30, 2019Copper Contributor
How to link to ToDo tasks?
I am using the Microsoft Graph API to fetch tasks from the ToDo application and I am having trouble when creating links to the tasks. Often tasks use their ID (provided by the Graph API) in the URL. ...
JamesErickson
Aug 26, 2023Copper Contributor
I use PowerAutomate to extract the link. Not sure if Microsoft Graph will allow you to just directly pull the ID of the task. If it does you can just concatenate a url together. Mine looks like this
https://to-do.office.com/tasks/[id]/details
This looks very similar to what you have in your post.
It seems Graph allows you to get the real ID
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}
If I understand your question correctly it's that you are trying to pull the ID from the url. Have you tried pulling the ID in it's own request? You could then make a new variable.
Thanks
https://to-do.office.com/tasks/[id]/details
This looks very similar to what you have in your post.
It seems Graph allows you to get the real ID
GET /me/todo/lists/{todoTaskListId}/tasks/{taskId}
If I understand your question correctly it's that you are trying to pull the ID from the url. Have you tried pulling the ID in it's own request? You could then make a new variable.
Thanks