我想知道如何使用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