Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
How to Correct an assignment DFF fields in a Rest API call
Hello Community,
We are trying to Correct a DFF field in the assignment for an REST API call.
The current field publicRecordsExempt = "No" and would like to correct it to "Yes".
It seems to accept the request with a 200 result but the response does not reflect the change.
PATCH:
{{base_url}}/hcmRestApi/resources/11.13.18.05/workers/{{workersUniqID}}/child/workRelationships/{{PeriodOfServiceId}}/child/assignments/{{assignmentsUniqID}}/child/assignmentsDFF/{{assignmentsDFFUniqID}}
HEADER:
REST-Framework-Version:4
Content-Type:application/vnd.oracle.adf.resourceitem+json
Effective-Of:RangeMode=CORRECTION;RangeStartDate=2024-01-26;RangeEndDate=4712-12-31
Body:
{ "publicRecordsExempt": "Yes"}
Reponse: (200 Ok)
{
"AssignmentId": 300000261227672,
"EffectiveStartDate": "2024-01-26",
"EffectiveEndDate": "4712-12-31",
"EffectiveSequence": 1,
"EffectiveLatestChange": "Y",
…
"publicRecordsExempt": "No",
"__FLEX_Context": null,