79363852

Date: 2025-01-17 06:57:21
Score: 0.5
Natty:
Report link

Well, I now solved the issue. I found a way to query schema of MS Graph with

GET https://graph.microsoft.com/v1.0/$metadata

Then I looked for BookingAppointment and found the expected schema and if it is optional. MS Graph - meta schema

It turned out that some keys are not consistent with what is written in the documentation e.g. end -> endDateTime, start -> startDateTime. I would say MS Graph documentation is very poor and input validation is so poor making it hard to debug.

After correcting the schema, I now successfully create Appointment with the API.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Woraphon T