Task

Create Many Tasks

POST

Create multiple new Tasks within a specified project with a single API call.

A Task is an individual element of work that must be performed to complete a Project. A Task can have one or more Resources assigned to it. Tasks can be linked to other Tasks to indicate whether they have a dependency or a connection.

Path parameters

projectIdstringRequired
The unique identifier of the Project that will contain these Tasks

Request

This endpoint expects a list of objects.
name
stringRequired
The common name of this Task.
description
stringOptional
A description of the work to be performed in this Task.
percentComplete
integerOptional

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.

statusId
stringOptional
The unique identifier of the TaskStatus for this Task
priorityId
integerOptional
A numerical value representing the Priority of this Task
assignees
list of stringsOptional
A list of unique identifiers of TaskAssignees to be assigned to this Task
plannedStartDate
stringOptional
The date when work on this Task is planned to begin.
plannedFinishDate
stringOptional
The date when work on this Task is expected to complete.
plannedDuration
integerOptional
The planned duration (in minutes) for this Task. Cannot be negative.
plannedEffort
integerOptional
The planned effort (in minutes) for this Task. Cannot be negative.
plannedCost
doubleOptional
The planned cost for this Task. Cannot be negative.
actualStartDate
stringOptional
The date when work on this Task actually started, if known.
actualCost
doubleOptional
The actual cost of this Task to date, if known.
theme
stringOptional

Color theme definition for this task.

eg. Blue, Brown, DarkBlue, DarkGrey, Gold, Green, Grey, LightBrown, LightGreen, LightGrey, LightPurple, LightYellow, Magenta, Mauve, Navy, Orange, Purple, Red.

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
list of objectsOptional
If the API call succeeded, this will contain the results.
POST
1curl -X POST /api/data/projects/projectId/tasks/bulk \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '[
5 {
6 "name": "name"
7 }
8]'
200
Successful
1{
2 "error": {
3 "technicalError": "technicalError",
4 "additionalErrors": [
5 "additionalErrors"
6 ],
7 "message": "message"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue",
12 "data": [
13 {
14 "changeSetId": "changeSetId",
15 "id": "id"
16 }
17 ]
18}