SupportContact salesStart free trial
  • Getting started
    • Overview
    • Authentication
    • Querying tutorial
    • OData Integrations
    • Work Breakdown Structure
    • Software Development Kits
    • API Patch Notes
    • FAQ
    • Terms of use
  • API Reference
LogoLogo
SupportContact salesStart free trial
API ReferenceNpt

Update Npt

PUT
https://api.projectmanager.com/api/data/non-project-tasks/:nptId
PUT
/api/data/non-project-tasks/:nptId
1curl -X PUT https://api.projectmanager.com/api/data/non-project-tasks/nptId \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
Try it
200Updated
1{
2 "error": {
3 "technicalError": "string",
4 "additionalErrors": [
5 "string"
6 ],
7 "validationErrors": {},
8 "message": "string"
9 },
10 "success": true,
11 "hasError": true,
12 "statusCode": "Continue",
13 "data": {
14 "id": "string",
15 "name": "string",
16 "description": "string",
17 "plannedStartDate": "2023-01-15",
18 "plannedFinishDate": "2023-01-15",
19 "actualStartDate": "2023-01-15",
20 "actualFinishDate": "2023-01-15",
21 "actualEffort": 1,
22 "actualDuration": 1,
23 "actualCost": 1.1,
24 "plannedCost": 1.1,
25 "plannedDuration": 1,
26 "plannedEffort": 1,
27 "priorityId": 1,
28 "percentComplete": 1,
29 "status": {
30 "id": "string",
31 "name": "string",
32 "order": 1,
33 "isDone": true
34 },
35 "assignees": [
36 {
37 "id": "string",
38 "initials": "string",
39 "name": "string",
40 "description": "string",
41 "isActive": true,
42 "colorName": "string",
43 "firstName": "string",
44 "lastName": "string",
45 "shortName": "string",
46 "avatarUrl": "string",
47 "email": "string"
48 }
49 ],
50 "shortId": "string",
51 "tags": [
52 {
53 "id": "string",
54 "name": "string",
55 "color": "string"
56 }
57 ],
58 "todos": [
59 {
60 "id": "string",
61 "text": "string",
62 "complete": true,
63 "createDate": "2024-01-15T09:30:00Z",
64 "modifyDate": "2024-01-15T09:30:00Z"
65 }
66 ]
67 }
68}
Update a Npt
Was this page helpful?
Previous

Remove Npt

Next
Built with
Remove Npt
Update a Npt

Path parameters

nptIdstringRequiredformat: "uuid"
the id of the npt

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.
x-integration-namestringOptional
The name of the calling system passed along as a header parameter

Request

the fields to update
the id of the npt
The name of the calling system passed along as a header parameter
the fields to update

Bearer authentication of the form Bearer <token>, where token is your auth token.

namestring or nullOptional
The common name of this Task.
descriptionstring or nullOptional
This field contains the task's "Note" or "Description", which is a description of the work to be done to complete the task. Within the ProjectManager application, you can use this field as follows: * When in the Board or List view, click on a task to open the task panel, then edit the "Description" field.
plannedStartDatestring or nullOptionalformat: "date"

The date when work on this Task is planned to begin.

This value contains only the date in year-month-day format. For display, this date will always be shown as this same year-month-day regardless of time zone.

plannedFinishDatestring or nullOptionalformat: "date"

The date when work on this Task is expected to complete.

This value contains only the date in year-month-day format. For display, this date will always be shown as this same year-month-day regardless of time zone.

priorityIdinteger or nullOptional
Return the priority of a task
percentCompleteinteger or nullOptional>=0<=100

The numerical percentage, from 0-100, representing the percentage completion for this Task. Any numbers below zero or above 100 will be clamped to the minimum or maximum value.

This value can be edited manually in the Gantt chart view of the application, or can be selected on the Task Detail page within the Kanban board.

statusIdstring or nullOptionalformat: "uuid"
The status assigned to this Npt
assigneeslist of strings or nullOptional
If specified, replaces the list of resources assigned to this npt.
actualStartDatestring or nullOptionalformat: "date"
If set, this is the actual date when work began on the Task. This value contains only the date in year-month-day format. For display, this date will always be shown as this same year-month-day regardless of time zone. For reporting purposes, this date is calculated against the official time zone of the Workspace. For example: A Task has a planned completion date of July 5, 2023 in a Workspace that has a time zone of US Pacific Time (GMT-7 or GMT-8, depending on daylight savings time). This project is considered overdue on 12:01 AM July 6th 2023 in US Pacific time.
actualFinishDatestring or nullOptionalformat: "date"
If set, this is the actual date when work was completed on the Task. This value contains only the date in year-month-day format. For display, this date will always be shown as this same year-month-day regardless of time zone. For reporting purposes, this date is calculated against the official time zone of the Workspace. For example: A Task has a planned completion date of July 5, 2023 in a Workspace that has a time zone of US Pacific Time (GMT-7 or GMT-8, depending on daylight savings time). This project is considered overdue on 12:01 AM July 6th 2023 in US Pacific time.
plannedCostdouble or nullOptional>=0
The planned cost for this Task. Cannot be negative.
actualCostdouble or nullOptional>=0
If set, this represents the actual tracked cost for this Task.

Response

Success
errorobject or null
If the API call failed, this will contain information about the error that occurred.
successboolean or null

True if the API call succeeded; false otherwise.

hasErrorboolean or null
True if the API call failed.
statusCodeenum or null
The HTTP code of the response.
dataobject or null
A Npt is a task that does not belong to the project. It is only visible to the person who created it, and the users assigned to it. NPT's are a lightweight version of a project task.

This field contains the task’s “Note” or “Description”, which is a description of the work to be done to complete the task.

Within the ProjectManager application, you can use this field as follows:

  • When in the Board or List view, click on a task to open the task panel, then edit the “Description” field.

If set, this is the actual date when work began on the Task.

This value contains only the date in year-month-day format. For display, this date will always be shown as this same year-month-day regardless of time zone. For reporting purposes, this date is calculated against the official time zone of the Workspace.

For example: A Task has a planned completion date of July 5, 2023 in a Workspace that has a time zone of US Pacific Time (GMT-7 or GMT-8, depending on daylight savings time). This project is considered overdue on 12:01 AM July 6th 2023 in US Pacific time.

If set, this is the actual date when work was completed on the Task.

This value contains only the date in year-month-day format. For display, this date will always be shown as this same year-month-day regardless of time zone. For reporting purposes, this date is calculated against the official time zone of the Workspace.

For example: A Task has a planned completion date of July 5, 2023 in a Workspace that has a time zone of US Pacific Time (GMT-7 or GMT-8, depending on daylight savings time). This project is considered overdue on 12:01 AM July 6th 2023 in US Pacific time.