-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlannerAssignment class does not exist in version 6.4.0 #1873
Comments
Thanks for reporting this @HermanShpryhau. While this is being investigated, you can try using a HashMap to hold the PlannerAssignments assignments = new PlannerAssignments();
HashMap<String, Object> additionalData = new HashMap<>();
additionalData.put("[user-id]", "{'@odata.type':'#microsoft.graph.plannerAssignment','orderHint':' !'}");
assignments.setAdditionalData(additionalData); |
(Triage notes) |
Unfortunately putting a map there results in following exception:
I also tried creating a GSON json object and putting it there. Didn't help either. |
My apologies @HermanShpryhau. I meant to pass the JSON string value. Updated the sample. |
The string approach didn't work for me either. I don't have logs at hand currently unfortunately. |
The string approach didn't work.
|
@baywet when you have some time, might you be able to share more on this? |
Apologies @Eleirbag89 @HermanShpryhau . Realised this doesn't work because the body of the user-Id in the |
@Ndiritu I think this is one of the very few OData Dictionary usage across the API surface. @TarkanSevilmis is the architect for that API and could confirm that. All that to say:
We should probably direct the customer to make an arbitrary request for this one. |
In the docs for creating a task the
PlannerAssignment
is mentioned in the code example, but this class is not present in the library.The text was updated successfully, but these errors were encountered: