Initiating Remove Person Information using REST API
You can automate the Remove Person Information integration using removePersonInformation REST resource .
This resource allows you to retrieve details of the process submissions and provides the following custom actions:
| Action | Method | Description |
|---|---|---|
| Get all Remove Person Information processes | GET | Provides details of Remove Person Information processes. |
| Get an individual Remove Person Information process | GET | Provides details of Remove Person Information process for the specified process id. |
| Submit RPI | POST | Submit Remove Person Information process to remove the data that's configured by the named template, for the population specified. |
| Report Person Information | POST | Submits Remove Person Information to generate a HDL file that would remove the data configured by the named template, for the population specified, but it doesn't submit HDL. It's stops after generating the file, allowing you to review the impact. |
| Stop Remove Person Information process | POST | Requests that Remove Person Information processing ceases. |
| Download File | POST | Downloads the HCM Data Loader generated report file to the Oracle WebCenter Content server. |
| Delete Report Process | POST | Delete the processes that are run in report mode. |
Granting Access to the RPI REST resource
To enable access to initiate remove person information processing, you’ll need this
role hierarchy:
| Role Name | Role Code | Access Granted |
|---|---|---|
| Use REST Service - Remove Person Information | ORA_HRC_REST_SERVICE_ACCESS_DATA_LOAD_DATA_SETS |
removePersonInformation REST resource |
| Upload data for Human Capital Management file based Import | HCM_DATALOADER_IMPORT_RWD | HCM Data Loader import account on the Oracle WebCenter |
| Load Data using HCM Data Loader | ORA_HRC_LOAD_DATA_USING_HDL | Submit HDL to upload the Remove Person Information generated file. |
On the Data Roles and Security Profiles page (Navigator > My Client > Workforce Structures > Data Roles and Security Profiles), create a data role for the job role that you created.
Users granted this data role will be able to submit and monitor RPI using the removePersonInformation REST resource.