Remove Person Information REST Support
You can now programmatically call Remove Person Information and monitor progress with the removePersonInformation REST resource. This resource allows you to retrieve details of the process submissions and provides the following custom actions:
Action | Method | Description |
---|---|---|
/removePersonInformation | GET | Provides details of Remove Person Information processes. |
/removePersonInformation/{processId} | GET | Provides details of Remove Person Information process for the specified process id. |
/removePersonInformation/actions/submitRemove | POST |
Submit Remove Person Information process to remove the data that's configured by the named template, for the population specified. |
/removePersonInformation/actions/reportPersonInformation | POST | Submits RPI 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. |
/removePersonInformation/actions/stop | POST | Requests that Remove Person Information processing ceases. |
/removePersonInformation/actions/downloadFile | POST | Downloads the HCM Data Loader generated report file to the Oracle WebCenter Content server. |
/removePersonInformation/actions/deleteReportProcess | POST |
Delete the processes that are run in report mode. |
Using REST, you can submit the RPI process with a predefined template and population. It eliminates the current manual submission steps and enables you to initiate the process directly from your source systems or integration platforms such as OIC.
Steps to Enable
Review the REST service definition in the REST API guides to leverage (available from the Oracle Help Center > your apps service area of interest > APIs & Schema). If you are new to Oracle's REST services you may want to begin with the Quick Start section.
Create a new job role with the following role hierarchies:
Role Name | Role Code | Access Granted |
---|---|---|
Use REST Service - Remove Person Information | ORA_HRC_REST_SERVICE_ACCESS_REMOVE_PERSON_INFORMATION | The 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.