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

REST API for Resignation

Accepted answer
132
Views
4
Comments
edited Aug 23, 2023 9:48AM in HCM REST APIs 4 comments

Summary: We have a requirement to find the end point for Employee Resignation.

/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/terminate will be invoked as an admin. But here we want Resignation flow to be triggered and the resignation should go for approval similar to what happens in the application. I tried giving the actio code as RESIGNATION, still TERMINATION flow only is initiated.


Content (required):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Action: POST

URL:https://fa-emuo-dev1-saasfaprod1.fa.ocs.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/workers/00020000000EACED00057708000110D932B3D6670000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000189FBA45C0078/child/workRelationships/300000021304940/action/terminate

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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