I have this JSON template
{
"shipToAddress":{
"country":"SE",
"emailAddress":"[email protected]",
"zipCode":"${zipcode}"
},
"itemLines":{
"itemLine":[
{
"bundleParentId":"",
"id":"IL1",
"itemType":"ART",
"itemNo":"${Article}",
"requiredQty":10,
"unitOfMeasure":"Piece"
}
]
},
"checkCapacity":"true",
"checkInventory":"true",
"businessUnit":{ "type":"STO", "code":"856" }
}
In the above example I have to add the complete element "Itemlines" again the template, could some help me pls. The final template should be like the below,
{
"shipToAddress":{
"country":"SE",
"emailAddress":"[email protected]",
"zipCode":"${zipcode}"
},
"itemLines":{
"itemLine":[
{
"bundleParentId":"",
"id":"IL1",
"itemType":"ART",
"itemNo":"${Article}",
"requiredQty":10,
"unitOfMeasure":"Piece"
}
]
"itemLines":{
"itemLine":[
{
"bundleParentId":"",
"id":"IL1",
"itemType":"ART",
"itemNo":"${Article}",
"requiredQty":10,
"unitOfMeasure":"Piece"
}
]
},
"checkCapacity":"true",
"checkInventory":"true",
"businessUnit":{ "type":"STO", "code":"856" }
}