Question

Issue in lineitems when using it with dynamic fields

  • 23 November 2022
  • 0 replies
  • 4 views

I’m adding line items in dynamic fields by setting a parent_key. So the fields in the inputData is dynamic. I don’t know which field is line item here. 

So while making API execution, I’m passing the bundle.inputData as body. 

 

{
"hello": "hello",
"hi": "hello",
"Field_one": "hello,jayanth,paval",
"Field_two": "hi,kaethick,charan",
"Table::Table_One": [
{
"Field_one": "hello",
"Field_two": "hi"
},
{
"Field_one": "jayanth",
"Field_two": "kaethick"
},
{
"Field_one": "paval",
"Field_two": "charan"
}
],
"check": [
{
"hello": "hello",
"hi": "hello"
}
]
}

 

 

check out the above payload, here the Field_one and Field_two are having aggregated values from lineitem
can someone help me out on this. 


0 replies

Be the first to reply!

Reply