This endpoint will only update the fields that are provided in the objects of the array. Any fields not included will use the existing values.
NOTE: Periods of unavailability cannot overlap with employment dates and cannot overlap with existing periods of unavailability.
NOTE: If you do not have Private Write permissions, you can update the start and end date of private periods of unavailability, but not the description or whether it's private.
Permissions
Person: Read
HourlyProfile: Read
Private: Write
Unavailabilities: Write
HourlyUnavailabilities: Write
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Bad Request: Example when wrong id passed in body
{
Example when new start date after end date or new end date before start date
{
Example when start and end date are outside employment dates
{
Example when start and end dates overlap with each other
{
401Unauthorized
403Forbidden
409Conflict: Example when updated unavailabilities overlap with existing unavailabilities
{