v1
latestOpenAPI 3.0.12026-07-2464217456.8 KBPhases
Create a phase
post/1.0/phases
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
Example request
{
"phaseId": 201,
"phaseName": "Kick off",
"project": {
"projectId": 201
},
"startDate": "2023-03-28",
"dueDate": "2023-03-28",
"status": {
"value": 2
},
"private": true
}Response
The resource was successfully created in the database.
Example response
{
"phaseId": 201,
"phaseName": "Kick off",
"project": {
"projectId": 201,
"projectName": "Acme onboarding"
},
"startDate": "2023-03-28",
"dueDate": "2023-03-28",
"startDateActual": "2023-03-28",
"dueDateActual": "2023-03-28",
"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"
},
"status": {
"value": 2,
"label": "In progress"
},
"private": true
}