0
votes

According to the documentation on updating order hints in planner.

The client can obtain the values immediate if return=representation preference is specified in the PATCH requests.

I've tried putting this in the header, and as a query parameter, but I still only get back a 204 response. Where in the PATCH request, does the return=representation go ?

2
Did you want to update a planner task and want to get the updated task after patching request?Keen Jin
I can get the updated planner task with a second call to the API. I wanted to be more efficient than that.OrdinaryOrange

2 Answers

0
votes

Just as you can see in the docs:

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

The API is still in development. So the documentation may update too.

You can submit an issue to the Github issue list first. Meanwhile vote up the existing request or submit a new one in the UserVoice

0
votes

The graph sdk team enlightened me. The header Prefer:return=representation is what needs to be set.