latestOpenAPI 3.0.12026-07-2464217456.8 KB
1e8ba619e741
Tasks
Create a task
post/1.0/tasks
Query parameters
includeFieldsstring[]
This query parameter allows you to specify which fields should be returned in the response body by selecting from the drop down. To get the relevant fields, use comma separated values. If the field is left blank, the default properties are returned.
includeAllFieldsboolean
Example:true
This query parameter allows you to specify if all the fields should be returned in the response body. If the field is left blank, the default properties are returned.
Request body
TaskPublicAPIRequestEntity required— unresolved $ref
Response
The resource was successfully created in the database.
Example response
{
"taskId": 201,
"taskName": "Kick off",
"taskDescription": "<p>Schedule Kick off meeting with the stakeholders involved.</p>",
"startDate": "2023-03-28",
"dueDate": "2023-03-28",
"effortInMinutes": 3000,
"progress": 50,
"atRisk": true,
"createdAt": 1681319726000,
"updatedAt": 1681319726000,
"createdBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"updatedBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"project": {
"projectId": 201,
"projectName": "Acme onboarding"
},
"status": {
"value": 2,
"label": "In progress"
},
"fields": [
{
"fieldId": 201,
"fieldLabel": "MRR",
"fieldValueLabel": "1000"
}
],
"startDateActual": "2023-03-28",
"dueDateActual": "2023-03-28",
"type": "MILESTONE",
"phase": {
"phaseId": 201,
"phaseName": "Go live"
},
"assignees": {
"members": [
{
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
}
],
"placeholders": [
{
"placeholderId": 201,
"placeholderName": "Customer Success",
"role": {
"roleId": 101,
"roleName": "Designer"
}
}
]
},
"followers": {
"members": [
{
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
}
]
},
"dependencies": [
{
"taskId": 201,
"taskName": "Kick off"
}
],
"parent": {
"taskId": 201,
"taskName": "Kick off"
},
"externalReferenceId": "task_8171",
"billable": true,
"timeEntryCategory": {
"categoryId": 201,
"categoryName": "Pre-sales"
},
"financialsBudgets": [
{
"budgetId": 201,
"budgetName": "Pre-sales"
}
],
"priority": {
"value": 2,
"label": "High"
}
}