'How to get and set custom sorting order on MS To-Do using GraphAPI

Requirement Explanation

I'm developing a company dashboard, wish MS To-Do is part of as a widget, and there is no value if I can't sync task sorting order between tools such as MS To-Do, Outlook, or To-Do mobile applications.

Outlook Tasks REST API

As seen on Outlook Task REST API documentation, I could do that, but that will be deprecated later this year (source). Both Outlook Web and MS To-Do online seem to be using that API for interacting with MS To-Do (Outlook Tasks).

Outlook API for to-do

So the sorting order can be fetched and patched through the field "OrderDateTime".

Fetch example (GET):

Fetch

Reordering Example (PATCH):

Payload with OrderDateTime

GraphAPI To-Do

The main idea is to get the custom sorting order to listing and patching endpoints of GraphAPI, which currently seems not to be working.

Postman failing to order by Same OData "orderBy" used by Outlook API:

Postman failing to order by Same OData "orderBy" used by Outlook API

Has anyone had a similar issue w/ MS To-Do and GraphAPI?

Question similar to: How to order tasks by importance in microsoft todo task graph API?, but more detailed on different APIs and less confusing in "importance" as this is also a field from To-Do as "High", "Normal" and "Low" order (3 states) only.



Solution 1:[1]

As of 29-04-2022, this functionality is not available in MS GrahAPI for To-Do application.

As per my communication with Microsoft, this is not planned at least until Q3.

Thanks for reaching out and apologies for the issue you have faced. Ordering of tasks is in our backlog, but it is currently not planned till CY22Q3. I would appreciate if you could add this feature asks in Microsoft 365 Developer Platform - Microsoft Tech Community as it would help us in prioritizing it.

Following above email recommendation, I've opened the feature request - if you are facing same issue as me, and require Microsoft to work on this, please thumbs up item below - so they can notice task, and prioritize it.

https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/to-do-graphapi-to-include-orderdatetime-field-custom-ordering-of/idi-p/3298392#M940

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Danton Heuer