Use this API to implement work reassignment functionality.
Work Reassignment allows access request reviews, certifications, and manual provisioning tasks assigned to a user to be reassigned to a different user. This is primarily used for:
Temporarily redirecting work for users who are out of office, such as on vacation or sick leave
Permanently redirecting work for users who should not be assigned these tasks at all, such as senior executives or service identities
Users can define reassignments for themselves, managers can add them for their team members, and administrators can configure them on any user’s behalf. Work assigned during the specified reassignment timeframes will be automatically reassigned to the designated user as it is created.
The newly created Reassignment Configuration object
ConfigurationItemResponse
-
400
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.configuration_item_requestimportConfigurationItemRequestfromsailpoint.beta.models.configuration_item_responseimportConfigurationItemResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:configuration_item_request='''{
"endDate" : "2022-07-30T17:00:00Z",
"reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e",
"configType" : "ACCESS_REQUESTS",
"reassignedToId" : "2c91808781a71ddb0181b9090b53504a",
"startDate" : "2022-07-21T11:13:12.345Z"
}'''# ConfigurationItemRequest | try:# Create a Reassignment Configurationnew_configuration_item_request=ConfigurationItemRequest.from_json(configuration_item_request)results=WorkReassignmentApi(api_client).create_reassignment_configuration(configuration_item_request=new_configuration_item_request)# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).create_reassignment_configuration(new_configuration_item_request)print("The response of WorkReassignmentApi->create_reassignment_configuration:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->create_reassignment_configuration: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.config_type_enumimportConfigTypeEnumfrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:identity_id='2c91808781a71ddb0181b9090b5c504e'# str | unique identity id # str | unique identity idconfig_type=sailpoint.beta.ConfigTypeEnum()# ConfigTypeEnum | # ConfigTypeEnum | try:# Delete Reassignment ConfigurationWorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id=identity_id,config_type=config_type)# Below is a request that includes all optional parameters# WorkReassignmentApi(api_client).delete_reassignment_configuration(identity_id, config_type)exceptExceptionase:print("Exception when calling WorkReassignmentApi->delete_reassignment_configuration: %s\n"%e)
Evaluate Reassignment Configuration
Evaluates the Reassignment Configuration for an Identity to determine if work items for the specified type should be reassigned. If a valid Reassignment Configuration is found for the identity & work type, then a lookup is initiated which recursively fetches the Reassignment Configuration for the next TargetIdentity until no more results are found or a max depth of 5. That lookup trail is provided in the response and the final reassigned identity in the lookup list is returned as the reassignToId property. If no Reassignment Configuration is found for the specified identity & config type then the requested Identity ID will be used as the reassignToId value and the lookupTrail node will be empty.
Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - SELF_REVIEW_DELEGATION: This will exclude delegations of self-review reassignments
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.config_type_enumimportConfigTypeEnumfromsailpoint.beta.models.evaluate_responseimportEvaluateResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:identity_id='2c91808781a71ddb0181b9090b5c504e'# str | unique identity id # str | unique identity idconfig_type=sailpoint.beta.ConfigTypeEnum()# ConfigTypeEnum | Reassignment work type # ConfigTypeEnum | Reassignment work typeexclusion_filters='''['SELF_REVIEW_DELEGATION']'''# List[str] | Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - `SELF_REVIEW_DELEGATION`: This will exclude delegations of self-review reassignments (optional)try:# Evaluate Reassignment Configurationresults=WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id=identity_id,config_type=config_type)# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).get_evaluate_reassignment_configuration(identity_id, config_type, exclusion_filters)print("The response of WorkReassignmentApi->get_evaluate_reassignment_configuration:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->get_evaluate_reassignment_configuration: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.config_typeimportConfigTypefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:try:# List Reassignment Config Typesresults=WorkReassignmentApi(api_client).get_reassignment_config_types()# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).get_reassignment_config_types()print("The response of WorkReassignmentApi->get_reassignment_config_types:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->get_reassignment_config_types: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.configuration_responseimportConfigurationResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:identity_id='2c91808781a71ddb0181b9090b5c504f'# str | unique identity id # str | unique identity idtry:# Get Reassignment Configurationresults=WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id=identity_id)# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).get_reassignment_configuration(identity_id)print("The response of WorkReassignmentApi->get_reassignment_configuration:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->get_reassignment_configuration: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.tenant_configuration_responseimportTenantConfigurationResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:try:# Get Tenant-wide Reassignment Configuration settingsresults=WorkReassignmentApi(api_client).get_tenant_config_configuration()# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).get_tenant_config_configuration()print("The response of WorkReassignmentApi->get_tenant_config_configuration:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->get_tenant_config_configuration: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
404
Not Found - returned if the request URL refers to a resource or object that does not exist
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: Not defined
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.configuration_responseimportConfigurationResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:limit=20# int | Max number of results to return. (optional) (default to 20) # int | Max number of results to return. (optional) (default to 20)offset=10# int | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional) # int | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional)try:# List Reassignment Configurationsresults=WorkReassignmentApi(api_client).list_reassignment_configurations()# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).list_reassignment_configurations(limit, offset)print("The response of WorkReassignmentApi->list_reassignment_configurations:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->list_reassignment_configurations: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.configuration_item_requestimportConfigurationItemRequestfromsailpoint.beta.models.configuration_item_responseimportConfigurationItemResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:identity_id='2c91808781a71ddb0181b9090b5c504e'# str | unique identity id # str | unique identity idconfiguration_item_request='''{
"endDate" : "2022-07-30T17:00:00Z",
"reassignedFromId" : "2c91808781a71ddb0181b9090b5c504e",
"configType" : "ACCESS_REQUESTS",
"reassignedToId" : "2c91808781a71ddb0181b9090b53504a",
"startDate" : "2022-07-21T11:13:12.345Z"
}'''# ConfigurationItemRequest | try:# Update Reassignment Configurationnew_configuration_item_request=ConfigurationItemRequest.from_json(configuration_item_request)results=WorkReassignmentApi(api_client).put_reassignment_config(identity_id=identity_id,configuration_item_request=new_configuration_item_request)# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).put_reassignment_config(identity_id, new_configuration_item_request)print("The response of WorkReassignmentApi->put_reassignment_config:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->put_reassignment_config: %s\n"%e)
Client Error - Returned if the request body is invalid.
ErrorResponseDto
-
401
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
ListAccessModelMetadataAttribute401Response
-
403
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
ErrorResponseDto
-
429
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
ListAccessModelMetadataAttribute429Response
-
500
Internal Server Error - Returned if there is an unexpected error.
ErrorResponseDto
-
HTTP request headers
Content-Type: application/json
Accept: application/json
Example
fromsailpoint.beta.api.work_reassignment_apiimportWorkReassignmentApifromsailpoint.beta.api_clientimportApiClientfromsailpoint.beta.models.tenant_configuration_requestimportTenantConfigurationRequestfromsailpoint.beta.models.tenant_configuration_responseimportTenantConfigurationResponsefrompprintimportpprintfromsailpoint.configurationimportConfigurationconfiguration=Configuration()withApiClient(configuration)asapi_client:tenant_configuration_request='''{
"configDetails" : {
"disabled" : true
}
}'''# TenantConfigurationRequest | try:# Update Tenant-wide Reassignment Configuration settingsnew_tenant_configuration_request=TenantConfigurationRequest.from_json(tenant_configuration_request)results=WorkReassignmentApi(api_client).put_tenant_configuration(tenant_configuration_request=new_tenant_configuration_request)# Below is a request that includes all optional parameters# results = WorkReassignmentApi(api_client).put_tenant_configuration(new_tenant_configuration_request)print("The response of WorkReassignmentApi->put_tenant_configuration:\n")pprint(results)exceptExceptionase:print("Exception when calling WorkReassignmentApi->put_tenant_configuration: %s\n"%e)