Hello,
We are using WEBCON BPS version [version, e.g. 2026]. We are building an endpoint with the User-defined API that receives a list of suppliers. Each supplier should be saved as a row in an item list on the form.
We would like to know whether the User-defined API can handle a structure where each list element contains nested objects, or whether we need to flatten it. I searched the forum for an answer but couldn't find a thread covering this case.
Structure 1 (nested, preferred):
{
"suppliers": [
{
"hqAddress": {
"street": "Domaniewska 1",
"city": "Warszawa",
"postCode": "02-672"
},
"postAddress": {
"street": "Prosta 10",
"city": "Warszawa",
"postCode": "00-001"
}
}
]
}
Structure 2 (flat):
{
"suppliers": [
{
"hqStreet": "Domaniewska 1",
"hqCity": "Warszawa",
"hqPostCode": "02-672",
"postStreet": "Prosta 10",
"postCity": "Warszawa",
"postPostCode": "00-001"
}
]
}
Questions:
1. Can the User-defined API definition map fields of nested objects (e.g. hqAddress.street, postAddress.city) to item list columns? If so, how should the input parameters be configured?
2. If not, is the flat Structure 2 the only option? Or is there another recommended approach, such as accepting the raw JSON and parsing it in an action or business rule?
3. Is support for nested objects inside list elements planned for a future version?
We would prefer Structure 1, because that contract is dictated by the external systems that will call our API.
Thank you in advance for your help.