Passing PL/SQL Table Type variable to RESTful API inserts NULL values
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}]