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
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

REST API to create and update contact relationship

Summary:

How to create a contact relationship with REST API?

Is this the correct API end point?
/hcmRestApi/resources/latest/hcmContacts

Content (please ensure you mask any confidential information):


I have encounter error while using the REST API end point to create family and emergency contact.

The error: Unable to parse the provided payload

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

24D


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

Sample payload:

{
"PersonNumber": "400770860",
"CorrespondenceLanguage": null,
"BloodType": null,
"DateOfBirth": "1995-07-10",

"CountryOfBirth": "TW"

"names" : [ {
"LegislationCode" : "TW",
"FirstName" : "REST API TestContact",
"KnownAs" : "ContactRelation",
"LastName" : "Test Nový120"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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