My Oracle Support Banner

Why is the HCM Cloud Adapter Atom feed structure different from the HCM REST API response structure ? (Doc ID 2569866.1)

Last updated on JULY 30, 2019

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Goal

When Atom feeds are consumed by HCM Adapter, the structure is different compared to calling the equivalent REST resource directly.

eg.

HCM Adapter NewHire Atom Feed example

<EmployeeNewHireFeedResponse xmlns="http://xmlns.oracle.com/cloud/adapter/hcm/getNewHireFeed_REQUEST/types">{}
<EmployeeNewHireFeed_Update>
<EmployeeNewHireFeed_Context>
<PrimaryPhoneNumber/>
<PersonId>1234567890</PersonId>
<EffectiveDate>2019-08-01</EffectiveDate>
<WorkerType>EMP</WorkerType>
<PeriodType>P</PeriodType>
<PersonNumber>12345678</PersonNumber>
</EmployeeNewHireFeed_Context>
<title>Test1</title>
<author/>
<summary>Pending Worker Period of Service Created</summary>
<updated_timestamp>2019-07-25T18:00:00000Z</updated_timestamp>
<published_timestamp>2019-07-25T18:00:00000Z</published_timestamp>
</EmployeeNewHireFeed_Update>
</EmployeeNewHireFeedResponse>

Rest API newhire example

<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app">
<author>
<name>SEED_DATA_FROM_APPLICATION</name>
</author>
<subtitle type="text">NewHire</subtitle>
<title type="text">New Hire</title>
<id>urn:uuid:12345689012345678901234567890</id>
<updated>2019-07-25T18:00:00000Z</updated>
<link rel="self" href="https://host:port/hcmRestApi/atomservlet/employee/newhire?updated-min=2019-07254T14:00:00.000Z"/>
<entry>
<title type="text">Test1</title>
<summary type="text">Employee Created</summary>
<content type="text">{
"Context" : [ {
"PrimaryPhoneNumber" : "",
"PersonId" : "1234567890",
"PersonName" : "Test1",
"EffectiveStartDate" : "2019-08-01",
"EffectiveDate" : "2019-08-01",
"WorkerType" : "EMP",
"PeriodType" : "P",
"PersonNumber" : "12345678",


 Why is there this difference ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.