请建议:
使用图形API http://graph.microsoft.io/en-us/docs/api-reference/beta/api/user_post_tasks我在创建任务时遇到错误。
请求网址:https://graph.microsoft.com/beta/me/tasks
Request body:
{
"assignedTo":"9932ccb4-cb4c-412c-ada1-31dcded3ad5c",
"planId":"w8mzN1ED3EGDWqSw5l7LP5YACb5M",
"bucketId":"mpPMeTdosUGTsPnq2240gZYAF_L9",
"title":"Task1 form CRM",
"dueDateTime":"2016-03-31"
}
Error is:
{
"error": {
"code": "BadRequest",
"message": "Write requests are only supported on contained entities",
"innerError": {
"request-id": "feb2d4ab-295e-42a3-a3f3-8115c837d9f5",
"date": "2016-03-24T12:17:07"
}
}
}
我们做错了什么?
答案 0 :(得分:0)
根据documentation,请求应为" POST https://graph.microsoft.com/beta/tasks"。请重试并告诉我结果。
答案 1 :(得分:0)
感谢这项工作,我遵循了本文档中的说明https://graph.microsoft.io/en-us/docs/api-reference/beta/api/user_post_tasks
为什么两页在这里我没有