Click HERE to see how Saviynt Intelligence is transforming the industry. |
02/05/2024 07:26 AM
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
02/06/2024 08:07 PM
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
02/08/2024 01:43 AM
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
02/11/2024 07:29 PM - edited 02/11/2024 07:29 PM
Hello @bhushan1,
Can you please confirm, When you are saying EMPS are you referring to the worker ?
Thanks
02/12/2024 09:51 AM
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
Thanks,
Bhushan
03/20/2024 04:02 PM
Hi @sudeshjaiswal,
Do you have sample for import and other crud operations?
I am specifically looking for add access and import.
Thanks,
Bhushan
02/11/2024 08:54 PM
@sudeshjaiswal @bhushan1 how is this different from Oracle Fusion Json for CRUD Operation - Saviynt Forums - 73963 ?
Am I missing something?
03/20/2024 02:12 PM - edited 03/20/2024 03:57 PM
Hi @sudeshjaiswal,
Do you have sample for import and other crud operations?
I am specifically looking for add access and import.
Thanks,
Bhushan