My Oracle Support Banner

Terminate An Employee Using Workers REST API Has Error (Doc ID 2617795.1)

Last updated on DECEMBER 03, 2020

Applies to:

Oracle Fusion Global Human Resources Cloud Service - Version 11.13.19.07.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to terminate a workRelationships using REST API,
the following error occurs.

ERROR
-----------------------
  "title" : "Bad Request",
  "status" : "400",
  "o:errorDetails" : [ {
  "detail" : "You can't provide a value for attribute Projected Start Date because this attribute is applicable only for pending worker and not for other worker types. (PER-1532201)",
  "o:errorCode" : "PER:::PER_INVALID_PENDING_WRK_ATTR"
  } ]


STEPS
-----------------------
The issue can be reproduced with the following steps:

POST on hcmRestApi/resources/11.13.18.05/workers/{id}/child/workRelationships/{PeriodOfServiceId}/action/terminate

Payload: { "actionCode": "INVOLUNTARY_TERMINATION" , "terminationDate": "yyyy-mm-dd" }


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.