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 (*).
The first name of the employee.
The last name of the employee.
The gender of an employee.
For example, M- male, F-female
The type of the employee/person defined for an organization.
The job details of an employee.
This is what an employee is known as.
For example, this can be a nick name.
The middle name of the employee.
The email address of the employee.
The work telephone number of the employee.
The date of birth of the employee in DD-MM-YYYY format.
The title of the employee.
For example, MR., MRS., or MISS.
Create an employee record with a Create Profile
form using IdentityNow REST API. Refer to Best Practices: IdentityNow REST API Authentication and IdentityNow REST API - Update Source (Partial).
Note
For existing sources, set the useEnhancedAggregation
attribute to true
, using IdentityNow REST API:
POST <url>/api/source/update/<sourceID>
-
<url> is the URL for the customer's IdentityNow 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:
{
"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
.