Update A Time Off Record
update_a_time_off_recordUpdate specific fields of an existing time off record for a person in a company. Modify only the supplied properties while leaving others unchanged.
Instructions
Updates an existing Time Off record for a specified Person within a given company. Only specified properties in the request body will be updated. Use this to update an existing Resource Planning records (only the supplied fields are changed). Updates the specified Resource Planning records and returns the modified object on success. Required parameters: company_id, person_id, time_off_id. Procore API: Resource Management > Resource Planning. Endpoint: PATCH /rest/v1.0/workforce-planning/v2/companies/{company_id}/people/{person_id}/time-off/{time_off_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the company. This parameter accepts both formats: - **Recommended**: Procore company ID (integer) - Use this for new integrations - Legacy: LaborChart UUID format (uuid string... | |
| person_id | Yes | URL path parameter — unique identifier for the person | |
| time_off_id | Yes | URL path parameter — the UUID of the Time Off record. | |
| start_day | No | JSON request body field — start date of the time off (MM/DD/YY). | |
| end_day | No | JSON request body field — end date of the time off (MM/DD/YY). | |
| apply_to_saturday | No | JSON request body field — whether the time off applies to Saturdays. | |
| apply_to_sunday | No | JSON request body field — whether the time off applies to Sundays. | |
| is_paid | No | JSON request body field — whether the time off is paid. | |
| reason | No | JSON request body field — reason for the time off. | |
| batch_start_time | No | JSON request body field — start time of the time off (formatted as HH:MM am/pm). | |
| batch_end_time | No | JSON request body field — end time of the time off (formatted as HH:MM am/pm). |