Skip to main content

WorkReassignmentService

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.

Refer to Work Reassignment for more information about this topic.

Every method returns an Observable. All request paths are relative to the baseUrl you pass to provideSailPoint().

MethodHTTP requestDescription
create-reassignment-configuration-v1POST /reassignment-configurations/v1Create a reassignment configuration
delete-reassignment-configuration-v1DELETE /reassignment-configurations/v1/{identityId}/{configType}Delete reassignment configuration
get-evaluate-reassignment-configuration-v1GET /reassignment-configurations/v1/{identityId}/evaluate/{configType}Evaluate reassignment configuration
get-reassignment-config-types-v1GET /reassignment-configurations/v1/typesList reassignment config types
get-reassignment-configuration-v1GET /reassignment-configurations/v1/{identityId}Get reassignment configuration
get-tenant-config-configuration-v1GET /reassignment-configurations/v1/tenant-configGet tenant-wide reassignment configuration settings
list-reassignment-configurations-v1GET /reassignment-configurations/v1List reassignment configurations
put-reassignment-config-v1PUT /reassignment-configurations/v1/{identityId}Update reassignment configuration
put-tenant-configuration-v1PUT /reassignment-configurations/v1/tenant-configUpdate tenant-wide reassignment configuration settings

create-reassignment-configuration-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Create a reassignment configuration Creates a new Reassignment Configuration for the specified identity.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is CreateReassignmentConfigurationV1RequestParams.

NameTypeDescriptionNotes
configurationItemRequestConfigurationItemRequest
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<ConfigurationItemResponse>

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';
import { ConfigurationItemRequest } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

createReassignmentConfigurationV1(): void {
const configurationItemRequest: ConfigurationItemRequest = ; //
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.createReassignmentConfigurationV1({ configurationItemRequest: configurationItemRequest }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

delete-reassignment-configuration-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Delete reassignment configuration Deletes a single reassignment configuration for the specified identity

API Spec

Parameters

The service takes one object that holds every parameter. Its type is DeleteReassignmentConfigurationV1RequestParams.

NameTypeDescriptionNotes
identityIdstringunique identity id[default to undefined]
configTypeConfigTypeEnum[default to undefined]
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<void> (empty response body)

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

deleteReassignmentConfigurationV1(): void {
const identityId: string = ; // unique identity id
const configType: ConfigTypeEnum = ; //
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.deleteReassignmentConfigurationV1({ identityId: identityId, configType: configType }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

get-evaluate-reassignment-configuration-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

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.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is GetEvaluateReassignmentConfigurationV1RequestParams.

NameTypeDescriptionNotes
identityIdstringunique identity id[default to undefined]
configTypeConfigTypeEnumReassignment work type[default to undefined]
exclusionFiltersArray<string>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] [default to undefined]
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<Array<EvaluateResponse>>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

getEvaluateReassignmentConfigurationV1(): void {
const identityId: string = ; // unique identity id
const configType: ConfigTypeEnum = ; // Reassignment work type
const exclusionFilters: Array<string> = ; // Exclusion filters that disable parts of the reassignment evaluation. Possible values are listed below: - &#x60;SELF_REVIEW_DELEGATION&#x60;: This will exclude delegations of self-review reassignments (optional)
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.getEvaluateReassignmentConfigurationV1({ identityId: identityId, configType: configType }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

get-reassignment-config-types-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

List reassignment config types Gets a collection of types which are available in the Reassignment Configuration UI.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is GetReassignmentConfigTypesV1RequestParams.

NameTypeDescriptionNotes
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<Array<ConfigType>>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

getReassignmentConfigTypesV1(): void {
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.getReassignmentConfigTypesV1({ }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

get-reassignment-configuration-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Get reassignment configuration Gets the Reassignment Configuration for an identity.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is GetReassignmentConfigurationV1RequestParams.

NameTypeDescriptionNotes
identityIdstringunique identity id[default to undefined]
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<ConfigurationResponse>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

getReassignmentConfigurationV1(): void {
const identityId: string = ; // unique identity id
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.getReassignmentConfigurationV1({ identityId: identityId }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

get-tenant-config-configuration-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Get tenant-wide reassignment configuration settings Gets the global Reassignment Configuration settings for the requestor's tenant.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is GetTenantConfigConfigurationV1RequestParams.

NameTypeDescriptionNotes
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<TenantConfigurationResponse>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

getTenantConfigConfigurationV1(): void {
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.getTenantConfigConfigurationV1({ }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

list-reassignment-configurations-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

List reassignment configurations Gets a paginated list of Reassignment configurations for the current org.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is ListReassignmentConfigurationsV1RequestParams.

NameTypeDescriptionNotes
limitnumberMax number of results to return.[optional] [default to 20]
offsetnumberOffset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.[optional] [default to 0]
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<Array<ConfigurationResponse>>

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

listReassignmentConfigurationsV1(): void {
const limit: number = ; // Max number of results to return. (optional)
const offset: number = ; // Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional)
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.listReassignmentConfigurationsV1({ }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

put-reassignment-config-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Update reassignment configuration Replaces existing Reassignment configuration for an identity with the newly provided configuration.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is PutReassignmentConfigV1RequestParams.

NameTypeDescriptionNotes
identityIdstringunique identity id[default to undefined]
configurationItemRequestConfigurationItemRequest
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<ConfigurationItemResponse>

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';
import { ConfigurationItemRequest } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

putReassignmentConfigV1(): void {
const identityId: string = ; // unique identity id
const configurationItemRequest: ConfigurationItemRequest = ; //
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.putReassignmentConfigV1({ identityId: identityId, configurationItemRequest: configurationItemRequest }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]

put-tenant-configuration-v1

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Update tenant-wide reassignment configuration settings Replaces existing Tenant-wide Reassignment Configuration settings with the newly provided settings.

API Spec

Parameters

The service takes one object that holds every parameter. Its type is PutTenantConfigurationV1RequestParams.

NameTypeDescriptionNotes
tenantConfigurationRequestTenantConfigurationRequest
xSailPointExperimentalstringUse this header to enable this experimental API.[optional] [default to 'true']

Return type

Observable<TenantConfigurationResponse>

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Example

import { Component, inject } from '@angular/core';
import { WorkReassignmentService } from '@sailpoint/angular-sdk/work_reassignment';
import { TenantConfigurationRequest } from '@sailpoint/angular-sdk/work_reassignment';

@Component({ selector: 'app-example', template: '' })
export class ExampleComponent {
private readonly api = inject(WorkReassignmentService);

putTenantConfigurationV1(): void {
const tenantConfigurationRequest: TenantConfigurationRequest = ; //
const xSailPointExperimental: string = ; // Use this header to enable this experimental API. (optional)
this.api.putTenantConfigurationV1({ tenantConfigurationRequest: tenantConfigurationRequest }).subscribe({
next: (result) => console.log(result),
error: (error) => console.error(error),
});
}
}

[Back to top]