You can ask generic question related to Oracle Integration Cloud in below comment section. We will try to answer it.
👇
You can ask generic question related to Oracle Integration Cloud in below comment section. We will try to answer it.
13 comments
Leave a Reply Cancel reply
Archives
- November 2024
- October 2024
- May 2024
- June 2023
- December 2022
- October 2022
- September 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- August 2021
- July 2021
- May 2021
- March 2021
- January 2021
- November 2020
- October 2020
- September 2020
- May 2020
- March 2020
- February 2020
- January 2020
- December 2019
- August 2019
- July 2019
- June 2019
- May 2019
- March 2019
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Hi Kabir,
I am working for Integrating with /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/emails for creating a worker email. So first I was passing the personId to get the worker details and I was trying to get the only value for workersUniqueID from href, but I was not able get the workersUniqueID from href in OIC. Can you please help which function can I use to get the value for wokerUniqueID, and also can you please share the blog if you have it.
I was using the below expression for getting the workersUniqueID from href.
expression: substring-after($GetWorkerAll/nssrcmpr:executeResponse/nsmpr9:response-wrapper/nsmpr9:links/nsmpr9:href, '/workers/')
Can you please find the below response payload and I need to get the highlighted value only in OIC response will map to variable to get the workesUniqueID.
{
"PersonId": 1234566789,
"PersonNumber": "ABC02",
"CorrespondenceLanguage": null,
"BloodType": null,
"DateOfBirth": "1990-01-01",
"DateOfDeath": null,
"CountryOfBirth": null,
"RegionOfBirth": null,
"TownOfBirth": null,
"ApplicantNumber": null,
"CreatedBy": "example.oracle@example.com",
"CreationDate": "2021-03-19T14:22:41.477+00:00",
"LastUpdatedBy": "TEST",
"LastUpdateDate": "2021-03-24T15:30:56.243+00:00",
"links": [
{
"rel": "self",
"href": "https://:/hcmRestApi/resources/11.13.18.05/workers/0002000TEST012345",
"name": "workers",
"kind": "item",
"properties": {
"changeIndicator": " 0002000TEST012345"
},
{……}
{…..}
]
"links": [ —- > It's repeating element, so you have to use 'for each' first and then use the 'substring-after' function as given in below screenshot :
URL to access the screenshot 👉 https://drive.google.com/file/d/1jjdqdAu4N68HmjUkTLE3nK-qLehV4AQn/view?usp=sharing
Hi kabir,
I have tried one basic scenario read the xml and write the file in csv format in target location.
For that i was used Schedule Orchestration by using FTP i am reading the Files and then created one stage file for writing the CSV format and then from stage file to i am sending the file to FTP location thorugh FTP connection write operation. but in stage write file i am getting error like "Error in fetching payload" Could you please suggest on this.
with this much info, its difficult to provide solution
Could you upload one post for read the File XML and write the same file in CSV format
while sending email notification can we add multiple CC receipient
you can add multiple email ids in TO section of email notification
How do I get the workersUniqID using powershell
please check below article link. It might help you.
Article Link 👉 https://www.oicbasics.com/2022/03/worker-rest-api-for-oracle-hcm-cloud.html
Hello Kabir, My requirement is to Create OIC integration to create workers email id using HCM rest api. But all I have is PersonNumber and what I understood is we need workers unique id to create meial. Can you please suggest a way here.
Hi Shital, you can refer below Article Link, it will clear your doubt regarding Unique Worker ID.
Article Link : https://www.oicbasics.com/2022/03/worker-rest-api-for-oracle-hcm-cloud.html
and if it didn't helps you, you can connect us at 'thekabiryadav@gmail.com'
Hi kabir, we are trying to update an email using: hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/emails and passing payload as { "emails": [ { "EmailType": "W1", "EmailAddress": "new.email@example.com", "PrimaryFlag": true } ] } …. but oracle is giving error as invalid payload emails
can you please help me getting a correct payload.. we are passing other parameters (headers etc) as expected