0% found this document useful (0 votes)
12 views1 page

Update Assignments

The document outlines 3 steps for updating employee assignments in an API: 1) Obtain the assignment ID, 2) Use the assignment ID in the URL, 3) Send a payload with updated assignment details like job ID to complete the update.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Update Assignments

The document outlines 3 steps for updating employee assignments in an API: 1) Obtain the assignment ID, 2) Use the assignment ID in the URL, 3) Send a payload with updated assignment details like job ID to complete the update.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

The steps for updating Employees are as follows.

/hcmRestApi/resources/11.13.18.05/emps/{empsUniqID}/child/assignments/
{assignmentsUniqID}

Step1 : First and foremost, we must obtain the assignmentsUniqID based on


assignment id

https://ebzo-dev1.fa.us2.oraclecloud.com/hcmRestApi/resources/11.13.18.05/emps/
00020000000EACED00057708000110D933A6503B0000004AACED00057372000D6A6176612E73716C2E4
461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903
0000787077080000017BD2275C0078/child/assignments?q=AssignmentId=300000037195863

for the Assignments resource and used to uniquely identify an instance of


Assignments. The client should not generate the hash key value. Instead, the client
should query on the Assignments collection resource with a filter on the primary
key values in order to navigate to a specific instance of Assignments.

Step2: We may copy the assignment unique value from the response and paste it into
the URL at the end

URL:https://ebzo-dev1.fa.us2.oraclecloud.com/hcmRestApi/resources/11.13.18.05/
emps/
00020000000EACED00057708000110D933A6503B0000004AACED00057372000D6A6176612E73716C2E4
461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903
0000787077080000017BD2275C0078/child/assignments/
00040000000EACED00057708000110D933A650570000000EACED00057708000110D931820B9E0000000
EACED00057708000110D931820B920000004AACED00057372000D6A6176612E73716C2E4461746514FA
46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770
80000017BD2275C0078

Step 3: Use the pay load listed below to update the employee Assignments in this
case , I have updated the job Id .

{
"BusinessUnitId":"300000001067104",
"PersonTypeId": "300000000115164",
"AssignmentNumber": "E0712346",
"JobId" : "300000036140105",
"LocationId" : "300000001067050",
"ManagerId" : "300000001264530",
"ManagerAssignmentId" : "300000001264542",
"ManagerType" : "LINE_MANAGER" ,
"WorkingAsManager" : "Y",
"ActionCode" : "HIRE",
"AssignmentStatus" : "ACTIVE",
"DefaultExpenseAccount" : "01.62545.75.915.0000"
}

You might also like