ResourceRoleDepartment
IMPORTANT The SOAP API entered a limited enhancement phase in Q4 2020. Access to version 1.6 will be deactivated.
This entity describes a Resource - Role - Department relationship. A resource must be assigned to at least one role. Resources are assigned to one or more roles through their department. They can also be assigned service desk roles.This entity describes Resource's Role and Department associations.
A role is required when a resource is assigned to a ticket or task. The role rate dictates the base rate for work the resource performs on that task or ticket.
Entity details
You can also retrieve this information with the Web Services API call The getEntityInfo() SOAP API call.
Entity Name: | ResourceRoleDepartment |
Can Create: | |
Can Update: | |
Can Query: | |
Can Delete: | |
Can Have UDFs: |
Conditions and requirements
- ResourceID cannot be changed on update(). No error is returned; the new value is ignored.
- A Resource must have a default Role and Department. If ResourceRoleDepartment.Default = True, on update() the value cannot be set to False.
- On create() or update(), ResourceRoleDepartment.Default can be set to True. If ResourceRoleDepartment.Default = True already exists, the current instance is set to False and the new instance becomes the Default.
- ResourceRoleDepartment cannot be created with an inactive RoleID, ResourceID, or DepartmentID, but update is allowed. You cannot update ResourceID, RoleID, or DepartmentID with an inactive item.
Field definitions
The following table describes the standard Autotask field objects for this entity.
- To retrieve more detailed information specific to a particular Autotask implementation, use the Web Services API call The getFieldInfo() SOAP API call.
- For information on entity UDFs, use getUDFInfo().
- For String datatypes, the number in parentheses ( ) indicates the maximum number of characters allowed.
- LT indicates Local Term.
For more information about fields marked as picklists, review our Understanding picklists article.
Field Name | Label | Datatype | Read Only | Is Required | Reference Name | Picklist |
---|---|---|---|---|---|---|
Active | Active | boolean | ||||
Default | Default | boolean | ||||
DepartmentID | Department ID | integer | Department | |||
DepartmentLead | Department Lead | boolean | ||||
id | Resource Role Department ID | Int64 | ||||
ResourceID | Resource ID | integer | Resource | |||
RoleID | Role ID | integer | Role |