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

Update Location PATCH Method

edited Aug 17, 2021 9:57PM in Human Capital Management 1 comment

Summary

Cannot update an existing Locations with REST API

Content

Hi! I am trying to update an existing Location with REST service. The response I have is:

404 Not Found

The data I'm using is the following:

URL

https:/<server>/hcmRestApi/resources/11.13.18.05/locationsV2/{locationid}

HEADERS

REST-Framework-Version : 8
Content-Type : application/json
effective-Of : RangeMode=CORRECTION

BODY

{
    "addresses": [
    {
        "Country": "{country}",
        "AddressUsageType": "MAIN"
    }
    ]
}

Thanks for your time

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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