Returns the specified absence region.
Returns the absence region with public holiday details for its country and location.
Required Permissions
The user must be an admin or have user-planning-data:write permission to see users assigned to the absence region.Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
absenceRegionId
The id of the absence region.
Response
OK
id
The id of the entity.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.
name
The name of the absence region, as specified by the user.
It must be unique within the workspace.
countryCode
The country code of the absence region. It must be a valid ISO 3166-1 alpha-2 country code.
country
The english name of the country.
locationCode
The location code of the absence region. It should be a valid ISO 3166-2 country subdivision code.
location
The name of the location.
It will always be in the related country's language.
isDefault
Indicates whether the absence region is the default absence region.
Any new user will be assigned to the default absence region.
numberOfPublicHolidays
The number of public holidays in the absence region.
assignedUsers
The list of user ids assigned to the absence region.
publicHolidays
The list of public holidays in the absence region.
Errors
404
Not Found Error

