REST API Error on updating position in assignments
Summary:
Hi,
We are trying to update position of a worker via REST API. Sequence of calls is as below.
/hcmRestApi/resources/11.13.18.05/workers?q=PersonNumber=<personnumber>&expand=workRelationships.assignments
Get the link under assignments with name as assignments.
/hcmRestApi/resources/11.13.18.05/workers/00020000000EADEC00057708000110D931A56C820000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7564696C2E44617465686A81014B597419030000787077080000019EF1C6D40078/child/workRelationships/300000003583111/child/assignments/00020000000EADEC00057708000110D931A56CDC0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7564696C2E44617465686A81014B597419030000787077080000019EF1C6D40078
Then using this link apply PATCH operation with below payload and headers.