Update employee email via REST API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Update employee email via REST API

edited Jun 22, 2018 1:44AM in HCM Integrations 3 comments

Summary

Update employee email via REST API

Content

Using SOAPUI I can query an get an employee's data with no issues by using the following:

URL: https://myenv.hcm.us6.oraclecloud.com/hcmRestApi/resources/11.13.18.02/emps/

Method=QUERY

Query Parameter= one called 'q' and set it to 'PersonId=9999999'. 

Headers: Content-Type: application/vnd.oracle.adf.resourceitem+json

 

However, i'm having trouble performing an update. For the update, I tried the following 2 things:

1)

URL: https://myenv.hcm.us6.oraclecloud.com/hcmRestApi/resources/11.13.18.02/emps/

Method=PATCH

Query Parameter= One called 'q' and set it to 'PersonId=9999999'.  

Headers: Effective-Of: RangeMode=CORRECTION;RangeStartDate=2013-06-10;RangeEndDate=4712-12-31

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!