Creation/Updation of Employee Records in Oracle HRMS System

Creation of Employee Records in the Oracle HRMS System

The Oracle HRMS source supports the creation of employee records in Oracle HRMS.

Note
Mandatory attributes are marked with an asterisk (*).

Create an employee record with a Create Profile form using the REST API. Refer to Best Practices: REST API Authentication and REST API - Update Source (Partial).

Note

For existing sources, set the useEnhancedAggregation attribute to true, using the REST API:

POST <url>/api/source/update/<sourceID>

  • <url> is the URL for the customer's Identity Security Cloud instance

  • <sourceID> is the Source ID (number) obtained through the UI

In the body of the POST, use form-data as follows:

  • key: connecor_useEnhancedAggregation

  • value: true

Method: Post

URL: https://{url}/api/accountProfile/update/<source_id>?usage=Create

Content-Type: application/json

Body:

Copy
{
"description": null,
"fields": [
{
"attributes": {
"cloudRequired": "true"
},
"isRequired": false,
"name": "FIRST_NAME",
"transform": {
"attributes": {
"name": "FIRST_NAME"
},
"type": "identityAttribute"
},
"type": "string"
},
{
"attributes": {
"cloudRequired": "true"
},
"isRequired": false,
"name": "LAST_NAME",
"transform": {
"attributes": {
"name": "LAST_NAME"
},
"type": "identityAttribute"
},
"type": "string"
},

{
"attributes": {
"cloudRequired": "true"
},
"isRequired": false,
"name": "GENDER",
"transform": {
"attributes": {
"name": "GENDER"
},
"type": "identityAttribute"
},
"type": "string"
},
{
"attributes": {
"cloudRequired": "true"
},
"isRequired": false,
"name": "JOB",
"transform": {
"attributes": {
"name": "JOB"
},
"type": "identityAttribute"
},
"type": "string"
},

{
"attributes": {},
"isRequired": false,
"name": "PERSON_TYPE",
"transform": {
"attributes": {
"value": "Employee"
},
"type": "static"
},
"type": "string"
}

],
"name": "Account",
"usage": "Create",
"validPolicy": true
}

Update operation of Employee Records in the Oracle HRMS System

  • EMAIL_ADDRESS

For updating, the email address default can be UPDATE / CORRECTION / UPDATE_CHANGE_INSERT applicable in the below scenarios:

Condition

Mode

Configurable

EFFECTIVE_START_DATE equals Today’s date

CORRECTION

NO

EFFECTIVE_START_DATE < Today’s date

UPDATE / CORRECTION

YES

EFFECTIVE_START_DATE > Today’s date

UPDATE_CHANGE_INSERT

NO

 

To configure, add UPDATE_MODE field in update policy.

  • WORK_TELEPHONE

For updating phone number of type Work, the default mode is Correction.