PUT api/2.0/project/task/{taskid}
Updates the selected task with the parameters (responsible user ID, task description, deadline time, etc) specified in the request.
Name |
Description |
Type |
Example |
taskid
sent in url
|
Task ID
|
number
|
1234
|
description
sent in body
|
New task description
|
string
|
some text
|
deadline
sent in body
|
New task deadline time
|
Date and Time
|
Roundtrip format: 2008-04-10T06-30-00.000Z
|
startDate
sent in body
|
New task start date
|
Date and Time
|
Roundtrip format: 2008-04-10T06-30-00.000Z
|
priority
sent in body
|
New task priority
optional
|
task priority
|
High = 1, Normal = 0, Low = -1
|
title
sent in body
|
New task title
|
string
|
some text
|
milestoneid
sent in body
|
New task milestone ID
|
number
|
1234
|
responsibles
sent in body
|
New list of task responsibles
|
Collection of guids
collection
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
projectID
sent in body
|
New task project ID
optional
|
number
|
1234
|
notify
sent in body
|
Notifies responsibles about the task actions or not
|
Bool value
|
true
|
status
sent in body
|
New task status
optional
|
task status
|
NotAccept = 0,Open = 1, Closed = 2,Disable = 3,Unclassified = 4,NotInMilestone = 5
|
progress
sent in body
|
New task progress
optional
|
number
|
1234
|
PUT api/2.0/project/task/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"description": "some text",
"deadline": "2008-04-10T06-30-00.000Z",
"startDate": "2008-04-10T06-30-00.000Z",
"priority": null,
"title": "some text",
"milestoneid": 1234,
"responsibles": [
"00000000-0000-0000-0000-000000000000"
],
"projectID": null,
"notify": true,
"status": null,
"progress": null
}