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"