question

SahiRepswal-9632 avatar image
0 Votes"
SahiRepswal-9632 asked EscaleraRoberto-4228 answered

How to create Checklist Items with Task

Actually, I am creating Tasks by Graph API but I am looking for create Checklist items also with the Tasks or by calling another API. Can you please let me know about the EndPoint?

microsoft-graph-tasks-plans
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SahiRepswal-9632 avatar image
0 Votes"
SahiRepswal-9632 answered SahiRepswal-9632 edited

I did it by PATCH API
https://graph.microsoft.com/v1.0/planner/tasks/{taskId}/details
Body:
{
"checklist": {
"1":{
"@odata.type": "microsoft.graph.plannerChecklistItem",
"title": "Update task details"
},
"2":{
"@odata.type": "microsoft.graph.plannerChecklistItem",
"title": "Task Comple"
}
}
}

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EscaleraRoberto-4228 avatar image
0 Votes"
EscaleraRoberto-4228 answered SahiRepswal-9632 commented

Is this still working for you?
I have tried with the SDK (GetETag() returns null), with with Graph Explorer and with Postman. None work.
I then used Graph Explorer to create a sandbox with sample data thinking that the issue was maybe my organization or permissions and it still didn't work.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.