0

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 ?

OrdinaryOrange
  • 2,420
  • 1
  • 16
  • 25

2 Answers2

0

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

Adam Richardson
  • 2,518
  • 1
  • 27
  • 31
Seiya Su
  • 1,836
  • 1
  • 7
  • 10
  • I was originally hitting the V1.0 endpoint. I just tried the beta endpoint but got the same result. Both endpoints allow the order hints to be updated per the documentation (which is under the beta url as you point out!). So I think it fair to assume that the whole document therefore applies to V1 endpoint. I'll post a github issue. I did not do that first, expecting to be told to post something on SO first ! – OrdinaryOrange Oct 09 '18 at 09:42
0

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

OrdinaryOrange
  • 2,420
  • 1
  • 16
  • 25