Search code examples
microsoft-graph-apimicrosoft-planner

patch request to microsoft graph api for planner task does not return the updated task in the response


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 ?


Solution

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