我想知道如何使用Microsoft Graph API在Planner计划中创建任务。 现在我试图在使用“Create task”API的计划器计划中完成任务,但是我得到了UnknownError。如何通过Microsoft Graph API在计划中添加任务
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "2303b87d-fb0c-431c-9336-c93908758d25",
"date": "2016-06-28T10:16:56"
}
}
}
正如文档中所描述的那样,我发布到api这样。
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"
}
任何想法,我哪里会出错?如果您知道如何在Planner计划中添加任务,请分享这个想法?
非常感谢你布赖恩。我会检查更新的API并再次打电话。 – Masayuki