We are trying to create a worker in Oracle Fusion using the HCM APIs. We have created a basic worker but then need to make subsequent requests to add payroll, salary etc.
I am struggling to make the request to create the payroll assignment. I am using the guide here: REST API for Oracle Fusion Cloud HCM.
I can make a GET request to the assignedPayrolls endpoint and see there are no entries (as expected) but when I make a post request with the payload of relevant payrollId and startDate I get:
You don't have the required security privileges to modify the object PayrollUsageEO. (PER-1532245)
The user already has ORA_PAY_REST_SERVICE_ACCESS_PAYROLL_RELATIONSHIPS privilege via the ‘Human Capital Management Integration Specialist’ role.
Is there another privilege/role I need? Or is there a problem with the request I'm making?
Many thanks