Sets the current rate for a type of work. When the type of work has no rate entries yet
(for this team member, or for the practice), one is created. Otherwise PreserveHistory
decides whether the previous rate is kept on record (the open entry is closed and a new one
starts at EffectiveFrom) or simply corrected in place. Either way, rates already stamped on
logged time are not changed.
Properties
| Name | Type | Description |
|---|---|---|
| taskCategoryCode | string | The task category to price. Give this or billableServiceCode, not both. |
The task category to price. Give this or billableServiceCode, not both. | ||
| billableServiceCode | string | The library service to price. Give this or taskCategoryCode, not both. |
The library service to price. Give this or taskCategoryCode, not both. | ||
| hourlyRate | number | Charge-out rate per hour. Null leaves the charge-out rate to the next rule down. |
Charge-out rate per hour. Null leaves the charge-out rate to the next rule down. | ||
| costRate | number | Internal cost rate per hour. Setting a value requires the Cost Rates permission; callers |
Internal cost rate per hour. Setting a value requires the Cost Rates permission; callers | ||
| preserveHistory | boolean | True keeps the previous rate on record for historical periods: the current entry is |
True keeps the previous rate on record for historical periods: the current entry is | ||
| effectiveFrom | string | The first day the new rates apply. Required when preserving history (and when the type of |
The first day the new rates apply. Required when preserving history (and when the type of | ||
JSON Example
{
"taskCategoryCode": "string",
"billableServiceCode": "string",
"hourlyRate": 0,
"costRate": 0,
"preserveHistory": false
}