I want to know how to create task in Planner plan using Microsoft Graph API. Now I'm trying to crate task in planner plan using "Create task" API, but I got UnknownError.
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "2303b87d-fb0c-431c-9336-c93908758d25",
"date": "2016-06-28T10:16:56"
}
}
}
As the document described I posted to api like this.
POST https://graph.microsoft.com/beta/tasks
Content-type: application/json
Content-length: 192
{
"assignedTo": "<I set my uuid>",
"planId": "<I set planId which I created>",
"bucketId": "<I set bucketId which is included the plan>",
"title": "test4",
"orderHint": "A"
}
Any ideas where I'm going wrong? If you know how to add task in Planner plan, please would you share the idea?