EBS Customizations (MOSC)

MOSC Banner

Passing PL/SQL Table Type variable to RESTful API inserts NULL values

edited Apr 30, 2020 10:27AM in EBS Customizations (MOSC) 21 commentsAnswered ✓

Hi Everyone, I have simple requirement of inserting multiple rows in to a custom staging table using RESTful API, accordingly i created a package with procedure and couple of Table type variables and passed them as parameters to the procedure. However the RESTful API call inserts NULL values in to the custom tables. Please help.

Sample Package Spec/Body are attached and sample payload listed below:

{

"InputParameters": {"PV_HDR_REC" : [{"DATA_SOURCE" : "LCBH1", "VERSION_ID" : 1, "LOAD_ID" : 1}

                                   ,{"DATA_SOURCE" : "LCBH2", "VERSION_ID" : 2, "LOAD_ID" : 2}],

                    "PV_LIN_REC" : [{"DATA_SOURCE" : "LCBL1", "VERSION_ID" : 1, "LOAD_ID" : 1}

                                   ,{"DATA_SOURCE" : "LCBL2", "VERSION_ID" : 2, "LOAD_ID" : 2}]

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center