Update Assignments
Update Assignments
/hcmRestApi/resources/11.13.18.05/emps/{empsUniqID}/child/assignments/
{assignmentsUniqID}
https://ebzo-dev1.fa.us2.oraclecloud.com/hcmRestApi/resources/11.13.18.05/emps/
00020000000EACED00057708000110D933A6503B0000004AACED00057372000D6A6176612E73716C2E4
461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903
0000787077080000017BD2275C0078/child/assignments?q=AssignmentId=300000037195863
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"
}