Dida365/updateTask

Dida365Dida365 Open API

POST/open/v1/task/{taskId}

Update Task

Update an existing task

Use OAuth 2.0 to manage Dida365 projects, tasks, comments, tags, focus records, countdowns, habits, and check-ins.

Request

operationId
updateTask
Server
https://api.dida365.com
Authentication
OAuth2

Request parameters

taskId

pathstringrequired

Task identifier

69a850f8b9061f374d54a046

Request body

TaskUpdaterequired

Content-Type: application/json

Properties: idprojectIdtitlecontentdescisAllDaystartDatedueDatetimeZonereminderstagsrepeatFlagprioritysortOrderitems

{
  "id": "63b7bebb91c0a5474805fcd4",
  "projectId": "6226ff9877acee87727f6bca",
  "title": "Task Title",
  "content": "Task Content",
  "desc": "Task Description",
  "isAllDay": true,
  "startDate": "2019-11-13T03:00:00+0000",
  "dueDate": "2019-11-13T03:00:00+0000"
}

Responses

200

Taskapplication/json

OK

Properties: idprojectIdtitleisAllDaycompletedTimecontentdescdueDateitemspriorityreminderstagsrepeatFlagsortOrderstartDatestatustimeZonekind

201

unknown

Created

401

unknown

Unauthorized

403

unknown

Forbidden

404

unknown

Not Found

{
  "id": "63b7bebb91c0a5474805fcd4",
  "projectId": "6226ff9877acee87727f6bca",
  "title": "Task Title",
  "isAllDay": true,
  "completedTime": "2019-11-13T03:00:00+0000",
  "content": "Task Content",
  "desc": "Task Description",
  "dueDate": "2019-11-13T03:00:00+0000"
}