Actions67
- Account Actions
- Asset Actions
- Asset Type Actions
- Base Data Actions
- Call Actions
- Contact Actions
- Contract Actions
- Crew Actions
- Document Actions
- Employee Actions
- Hours Actions
- Hour Type Actions
- Work Order Actions
Hour Type → Update
AI-generatedSummary
Update an hour type record with selected fields.
Inputs
- id (required) — ID of the hour type to update.
- updateFields — Collection of fields to update, such as description, planning, type, and color.
- requestOptions — Additional request configuration like batching, timeout, and proxy settings.
Output shape
a single updated hour type record
Returns the updated hour type object; optional fields may be omitted and errors are wrapped in an error envelope.
Examples
Example 1: Update hour type 123 with a new description and mark it as planning.
id: 123, updateFields: {description: 'Weekday shift', planning: true}
Example 2: Change color and type using batch settings.
id: 456, updateFields: {color: 'blue', type: 'break'}, requestOptions: {batching: {batchSize: 100}}