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 to Update Worker Name

in HCM REST APIs 2 comments

Summary:

Hi experts, I am new to using API's and am trying to use the API from the page below to update a worker last name via Postman.

Update a Worker Name

My URL is:

POST

…./hcmRestApi/resources/11.13.18.05/workers/300000005496715/child/names/300000005496718

300000005496715 = PersonId

300000005496718 = PersonNameId

Auth Type = Basic Auth

Headers

Body

{
"LastName": "Smith"
}


On Send, I get a 404 Not Found Status.

The below GET API returns data as expected without error.

…./hcmRestApi/resources/11.13.18.05/workers?q=PersonNumber='12345'&expand=emails,addresses

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

25C

I am aware that other options exist to update the LastName, I am particularly interested however in API option.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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