REST API to Update Worker Name
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.
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.
0