Reputation: 39
Please advice:
Using the graph API http://graph.microsoft.io/en-us/docs/api-reference/beta/api/user_post_tasks I am getting the an error when I am creating a task.
Request URL: 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"
}
}
}
What are we doing wrong?
Upvotes: 0
Views: 796
Reputation: 33
Thanks this work for me, i followed the instruction from this documentation https://graph.microsoft.io/en-us/docs/api-reference/beta/api/user_post_tasks why two page here i don't nm
Upvotes: 0
Reputation: 879
As per documentation, the request should be "POST https://graph.microsoft.com/beta/tasks". Please retry and let me know the result.
Upvotes: 0