Get task by Id
Changed onRequest
- Base URLhttps://api.rocketlane.com/api
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The task's unique, system-generated identifier, which can be used to identify the task globally.
Query parameters
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.
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.
Response
The requested action was successfully executed.
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"
}
],
"revenueRecognitionDetails": [
{
"budgetId": 101,
"budgetName": "Budget A",
"recognisedPercentage": 50,
"recognisedAmount": 5000
}
],
"revRecRecognisedPercentage": 50,
"revRecRecognisedAmount": 5000,
"totalAllocatedMins": 2430,
"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": {
"placeholders": [
{
"placeholderId": 201,
"placeholderName": "Customer Success",
"role": {
"roleId": 101,
"roleName": "Designer"
}
}
],
"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"
},
"budgets": [
{
"budgetId": 201,
"budgetName": "Pre-sales"
}
],
"priority": {
"value": 2,
"label": "High"
}
}Changes
- breaking
removed the enum value
financialsBudgetfrom the propertyitems/of thequeryrequest parameterincludeFields - breaking
the
/response's property format changed fromint32toint64for status - warning
removed the optional property
from the response with the status - info
added the enum value
budgetsto the propertyitems/of thequeryrequest parameterincludeFields - info
added the optional property
to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking