Endpoint to get a retainer for a project by id.
The user must have the ProjectMasterData read permission for the project to access this endpoint.
Required Permissions
Any authenticated user.Path parameters
projectId
The id of the project.
retainerId
The id of the retainer.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Response
OK
timeBudget
The time budget per retainer period in seconds. The default budget amount for new budgets in this retainer.
timezone
The timezone for when new budgets are created.
rollOverUnderspentBudget
Whether underspent budgets should be rolled over to the next period.
rollOverOverspentBudget
Whether overspent budgets should be rolled over to the next period.
startDate
The start of the retainer contract.
endDate
The end of the retainer contract until new budgets will be created. Optional.
syncProjectDates
Whether the project start and due dates should be synced to the retainer start and end dates.
id
The id of the retainer.
retainerPeriod
The period for new budgets in this retainer.
Currently only 'monthly' is supported.
projectId
The project this retainer is associated with.
isExternal
Whether the retainer belongs to an external project.
retainerBudgets
The budgets for this retainer. Each budget period (month) gets its own budget.
createdOn
The date this retainer was created.
createdBy
The id of the user who created this retainer.
updatedOn
The date this retainer was last modified.
updatedBy
The id of the user who last modified this retainer.