Update phase 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 identifier of the phase is generated by the system and can be used to identify the phase 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.
Request body
Example request
{
"phaseName": "Go live",
"phaseDescription": "Initial discovery and alignment with the customer.",
"startDate": "2023-03-28",
"dueDate": "2023-03-28",
"status": {
"value": 2
},
"private": true
}Response
The requested action was successfully executed.
Example response
{
"phaseId": 201,
"phaseName": "Kick off",
"project": {
"projectId": 201,
"projectName": "Acme onboarding"
},
"phaseDescription": "Initial discovery and alignment with the customer.",
"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"
},
"budgets": [
{
"budgetId": 201,
"budgetName": "Pre-sales"
}
],
"private": true
}Changes
- info
added the new optional request property
- 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