Closed moonbox3 closed 3 months ago
Hello, Thanks for your continues use of the SDK and for raising this.
If I get you right, do you mean the CancelPostRequestBody
does not expect a key cancelation_token
, does that throw a keyError for you?
Hi @shemogumbe. That is not correct. Can you please re-read my original issue/bug?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Is your feature request related to a problem? Please describe.
There are several issues I am finding with the cancel appointment graph call:
I'm trying to follow the cancel appointment Python example, and the import used is incorrect. Per the following code it looks like the import should be something like
from msgraph.generated.users.item.events.item.cancel.cancel_post_request_body import CancelPostRequestBody
.Next, the docs example shows:
yet the
CancelPostRequestBody
constructor takes acomment
instead of acancellation_message
.Again following the example, I must be forming the request body incorrectly because I am getting a 500 back (shouldn't it be a 400)? I noticed on previous calls, like to create an appointment, when I had a malformed request, it returned a 500. In any case, I see the following when trying to cancel an appointment:
when using the following code:
Based on the
CancelPostRequestBody
fields, I've tried sending with either just the comment field filled out or all fields configured (backing_store
,additional_data
, andcomment
) yet that fails.Describe the solution you'd like I'd like for the cancel appointment API to be documented properly so I can understand how to form the request and cancel an appointment. Thank you for your help.