Get Started
Portal api methods
Help

PUT api/2.0/project/task/{taskid} This function requires authentication

Description

Updates the selected task with the parameters (responsible user ID, task description, deadline time, etc) specified in the request

Parameters
Name Description Type Example
taskid
sent in url
task ID number 1234
description
sent in body
description string some text
deadline
sent in body
deadline time Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
startDate
sent in body
task start date Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
priority
sent in body
priority
optional
task priority High = 1, Normal = 0, Low = -1
title
sent in body
title string some text
milestoneid
sent in body
milestone ID number 1234
responsibles
sent in body
list responsibles Collection of guids
collection
9924256A-739C-462b-AF15-E652A3B1B6EB
projectID
sent in body
Project ID
optional
number 1234
notify
sent in body
notify responsible Bool value true
status
sent in body
status
optional
task status NotAccept = 0,Open = 1, Closed = 2,Disable = 3,Unclassified = 4,NotInMilestone = 5
progress
sent in body
Progress
optional
number 1234
Example
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
}
Returns

Updated task