ResourceTimeOffApprovers
About this entity
The ResourceTimeOffApprovers entity identifies time off approvers for a resource and their approval level.
Context
The TimeOffRequests entity, in conjunction with ResourceTimeOffApprovers, TimeOffRequestsApprove, and TimeOffRequestsReject support the use case where you create, approve, and reject time off requests in an external HR or time tracking system and then push those requests into Autotask.
- You create a time off request and determine the next approval level using the TimeOffRequests endpoint
- You determine resources that can approve the next level for a time off request using the ResourceTimeOffApprovers endpoint
- You approve or reject the time off request using the TimeOffRequestsApprove and TimeOffRequestsReject endpoints
Entity info
Supported request types
Can Create | Can Delete | Can Query | Can Update | Can have UDFs |
---|---|---|---|---|
false |
false |
true | false | false |
Relationships
Parent | Children |
---|---|
Resources | None |
Access URLs
[n] represents the zone where your database is hosted. Refer to Querying user zone information via the REST API.
Description | URL |
---|---|
Full path | https://webservices[n].autotask.net/atservicesrest/v1.0/ResourceTimeOffApprovers |
Entity URLs |
ResourceTimeOffApprovers/entityInformation (GET) |
Parent Entity URLs | Resources/{parentId}/TimeOffApprovers (GET) Resources/{parentId}/TimeOffApprovers/{id} (GET) |
Field definitions
The following table describes the standard Autotask fields for this entity. Refer to the following articles for more information about working with these fields:
- The entityInformation REST API call
- Making basic query calls to the REST API
- Advanced query features of the REST API
To learn how to query picklist endpoints, refer to Understanding picklists.
Field Name | Description | Datatype | Read-Only | Is Required | Reference Name | Picklist |
---|---|---|---|---|---|---|
approvalLevel |
Indicates the approver's approval level for the resource. An Autotask resource can have up to 3 levels of approvers. |
integer | ||||
approverResourceID |
The resource ID of the approver |
integer | Resources | |||
id |
The unique identifier of the current entity |
long | ||||
resourceID |
The ID of the resource for whom time off is requested |
integer | Resources |