Hi Carlo,
How does your incoming body look?
If your JSON looks something this
{
"associatedEntities": [
"Val1",
"Val2"
]
}
You may need a helper entity between your parent (or root) entity and your associated entities. The helper entity will then be a one-to-one association with your parent and the associated entities will be a many-to-one association to the helper entity
The domain model is like this, but that gives the result as mentioned above:
The json is as follows:
{
"SomeAttribute" : "Value",
"HelperObject" : [
{
"Attribute" : "Value"
},
{
"Attribute" : "Value"
}
]
}
Solved by generating both import- and export mapping by the MessageDefinitions, based on this model: