Skip to content

Update a Task

PUT https://api.prosperworks.com/developer_api/v1/tasks/{{example_task_id}}

Updates are only applied to fields explicitly specified in the request body. For example, if an update request is made with an empty body, no updates will be made. To remove the value from a field, the request body must specify the target field value as 'null'.

Request body

1
2
3
{
  "details":"This is an update"
}

Example Requests

Update Task

1
2
3
  --header "X-PW-AccessToken: YOUR_TOKEN_HERE" \
  --header "X-PW-Application: developer_api" \
  --header "X-PW-UserEmail: YOUR_EMAIL_HERE" \
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
{
  "id": 3716920,
  "name": "My First Task",
  "related_resource": {
    "id": 144296,
    "type": "project"
  },
  "assignee_id": 137658,
  "due_date": 1496799000,
  "reminder_date": null,
  "completed_date": null,
  "priority": "None",
  "status": "Open",
  "details": "This is an update",
  "tags": [],
  "custom_fields": [],
  "date_created": 1496712856,
  "date_modified": 1496776369
}