question

SahiRepswal-9632 avatar image
0 Votes"
SahiRepswal-9632 asked saldana-msft edited

How to put Notes and priority fields data in Task POST API

I am able to create task through API but I am including Notes and priority field but while I am checking it through API, Notes are not visible there.
Below is the API:

POST: https://graph.microsoft.com/v1.0/planner/tasks

Body:

 {
   "planId": "XXXXXXXXXXXXXX-",
   "bucketId": "x_XXXXXX",
   "title": "Postman Test 13",
   "dueDateTime": "2021-06-15",
   "priority" : 1,
   "importance": "high",
   "description": "This is test description",
   "Notes": "Test Notes",
   "body": {
         "content": "This is test body",
         "contentType": "text"
   },
   "Subject": "Test Subject",
   "appliedCategories": {
     "category5": true,
     "category7": true
   }
 }

For priority I am using valid range of values between 0 and 10.
Notes and Priority are not working as expected through API.
How can I resolve this?



microsoft-graph-tasks-plansmicrosoft-graph-todo
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered SahiRepswal-9632 commented

Check out the documentation, as i I don't remember planner tasks have the notes field.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I went through the document but I didn't found how to put notes or comment to task.
I am also looking for create Task Checklist items API

0 Votes 0 ·
Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered

Check out the documentation, as i I don't remember planner tasks have the notes field.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.