Skip to Main Content

Visual Builder

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!

Unable to assign the REST API response to an Assign Variable in Action chain in VBCS

User_DCJAVMay 30 2023

Hello,

I'm trying to create a SaaS extension on Person's Person Extra Information page from VBCS. For that, I'm trying to get the existing value of the Person EIT EFF (WithHoldingPercentage) via this REST API -

https://<FA>:<Port>/hcmRestApi/resources/11.13.18.05/emps/{empsUniqID}/child/personExtraInformation/{personExtraInformationUniqID}/child/PersonExtraInformationContextWithHoldingprivateVO.

I'm not able to assign the response received from the REST API Get method for this EFF field (withholdingpercentage) to an assign variable in the action chain as the node having this response is not showing up in the mapper.
Sample response from the API when tested from Postman is -
{
"items": [
{
"PersonExtraInfoId": 300000046323103,
"EffectiveStartDate": "2023-05-18",
"EffectiveEndDate": "4712-12-31",
"PersonId": 300000046313675,
"PeiInformationCategory": "WithHolding",
"CreationDate": "2023-05-18T11:06:29.924+00:00",
"LastUpdateDate": "2023-05-19T13:21:50+00:00",
"PeiAttributeCategory": null,
"withholdingpercentage": 10,
"links": [
{
"rel": "self",
"href": "https://<FA>:443/hcmRestApi/resources/11.13.18.05/emps/00020000000EACED00057708000110D9343170CB0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000018840C1740078/child/personExtraInformation/300000046313675/child/PersonExtraInformationContextWithHoldingprivateVO/00030000000EACED00057708000110D93431959F0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001882C280400780000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800004EB9F6DD140078",
"name": "PersonExtraInformationContextWithHoldingprivateVO",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
}
},
{
"rel": "canonical",
"href": "https://<FA>:443/hcmRestApi/resources/11.13.18.05/emps/00020000000EACED00057708000110D9343170CB0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000018840C1740078/child/personExtraInformation/300000046313675/child/PersonExtraInformationContextWithHoldingprivateVO/00030000000EACED00057708000110D93431959F0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B59741903000078707708000001882C280400780000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800004EB9F6DD140078",
"name": "PersonExtraInformationContextWithHoldingprivateVO",
"kind": "item"
},
{
"rel": "parent",
"href": "https://<FA>:443/hcmRestApi/resources/11.13.18.05/emps/00020000000EACED00057708000110D9343170CB0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000018840C1740078/child/personExtraInformation/300000046313675",
"name": "personExtraInformation",
"kind": "item"
}
]
}
],
"count": 1,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [
{
"rel": "self",
"href": "https://<FA>:443/hcmRestApi/resources/11.13.18.05/emps/00020000000EACED00057708000110D9343170CB0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000018840C1740078/child/personExtraInformation/300000046313675/child/PersonExtraInformationContextWithHoldingprivateVO",
"name": "PersonExtraInformationContextWithHoldingprivateVO",
"kind": "collection"
}
]
}

Expected Response Node -

Actual Response Node -

I even created a response endpoint type and tried to assign that in the REST API response type but even that didn't work.

Please let me know what would be the correct way of doing this and where I could be possibly doing wrong?

Comments
Post Details
Added on May 30 2023
1 comment
480 views