We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Oracle Fusion emps API

bhushan1
New Contributor III
New Contributor III

Hi All,

We are trying to integrate Saviynt with Oracle Fusion. To create employee accounts we need to use the emps API.
hcmRestApi/resources/11.13.18.05/emps

Has anyone used this API for the CRUD operations?
Can someone share the following jsons sample:

1. Create Account
2. Update Account
3. Add Access
4. Remove Access
5. Enable Account
6. Disable Account
7. Delete Account

Thanks in advance.

Thanks,
Bhushan

5 REPLIES 5

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @bhushan1,

PFA sample below  based on the below sample you can create the other crud operations as well.

CreateAccountJson

Create Account

{
	"accountIdPath": "call1.message.PersonId",
	"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
	"responseColsToPropsMap": {
		"customproperty1": "call1.message.user.PersonId~#~char"
	},
	"call": [
		{
			"name": "call1",
			"connection": "acctAuth",
			"url": "https://test.com:443/hcmRestApi/resources/11.13.18.05/emps",
			"httpMethod": "POST",
			"httpParams": "{\"LegalEntityId\":\"300000001376118\",\"PersonNumber\": \"${user.username}\",\"FirstName\": \"${user.preferedFirstName}\",\"MiddleName\": \"${user.middlename}\",\"LastName\": \"${user.lastname}\",\"DisplayName\": \"${user.displayname}\",\"WorkPhoneNumber\": \"${user.phonenumber}\",\"WorkMobilePhoneNumber\": \"${user.phonenumber}\",\"WorkEmail\": \"${user.email}\",\"AddressLine1\": \"${user.street}\",\"City\": \"${user.city}\",\"Country\": \"${user.customproperty2}\",  \"UserName\": \"${user.email}\",\"assignments\": [{\"AssignmentName\":\"${user.systemUserName}\",\"BusinessUnitId\": \"300000001370636\"}]}",
			"httpHeaders": {
				"Authorization": "${access_token}",
				"Accept": "application/json"
			},
			"httpContentType": "application/json",
			"successResponses": {
				"statusCode": [
					200,
					201
				]
			}
		}
	]
}

Thanks

Hi @sudeshjaiswal ,

Thank you for the json.
Do you have any sample where BusinessUnitId, LegalEntityId are fetched dynamically?

For these hardcoded values we are getting a URL which has list of values. We are trying to get the values from the URL.

Thanks,
Bhushan

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @bhushan1,

Can you please confirm, When you are saying EMPS are you referring to the worker ?

Thanks

Hi @sudeshjaiswal,

Yes, worker's with Workertype as 'E'. Refer below document:
https://docs.oracle.com/en/cloud/saas/human-resources/24a/farws/op-emps-post.html

bhushan1_0-1707760206741.png
Thanks,
Bhushan

Manu269
All-Star
All-Star

@sudeshjaiswal @bhushan1 how is this different from Oracle Fusion Json for CRUD Operation - Saviynt Forums - 73963 ?

Am I missing something?

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.