Jason different file formats for Orchestration
Hi All,
I have a requirement to input two different jason formats. As mentioned in format 1 when I have single order to create I will get like this, if I have multiple orders to create I will get files like shown in Format 2. The difference here is "[ ]" brackets. Format 1 is not working and format 2 is working.
Can you please confirm whether it is possible or not on single orchestration. If yes, please suggest how to handle this.
Format 1. which is not working
{
"Purchase_Orders" : { "Item" : "883705","RequestDate" : "2019/05/25", "DemandSite" : "ABC", "Quantity" : "1","Supplier" : "1000","ShipDate" : "2019/05/25" }}
Format 2. which is working
{
"Purchase_Orders" : [{ "Item" : "883705","RequestDate" : "2019/05/25", "DemandSite" : "ABC", "Quantity" : "1","Supplier" : "1000","ShipDate" : "2019/05/25" },