Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REST API configuration in OIC

Amruta MohiteJul 2 2024 — edited Jul 2 2024

Hi Team,

I have created integration in OIC to communicate with OIA(Oracle intelligent Advisor). I am calling OIA REST API in OIC, I have created rest connection for achieving this.

While configuring REST adaptor in OIC I am passing below mentioned JSON as a request-
{
"outcomes": [
"emp_code",
"emp_name",
"silver_inc"
],
"cases": [
{
"@id": 1,
"Employee_Sales_Incentive": [
{
"@id": 0,
"emp_code": 1111,
"emp_name": "Akshay",
"prod_silver": 0,
"prod_gold": 0,
"prod_platinum": 0,
"inc_status": "Freeze",
"emp_region": "East",
"scheme": "Scheme March",
"emp_des": "RM",
"start_date": "2024-03-01",
"end_date": "2024-03-31"
}
]
}
]
}
Outcomes is an static array for this request. But in mapping window in OIC it is giving me blank ‘Outcomes’ array.

How can I add these static values in ‘outcomes’ array.
Please refer attached mapping screenshot.

Comments
Post Details
Added on Jul 2 2024
1 comment
350 views