How to Correct an assignment DFF fields in a Rest API call — 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

How to Correct an assignment DFF fields in a Rest API call

edited Jul 12, 2024 12:22PM in HCM REST APIs 4 comments

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,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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