Hi All
Back story of scenario, i want to get manual journal from xero, correct some details with the journal like date etc them re-import the manual journal back into xero using make api call. Xero is apparently particular about the format of sjon file.
The get from xero extracts all fields related to journal. Is there a way to remove a field within a array and keep the structure intact? in the screen shot I want to use Journal Line but I Dont want to bring in tax amount, tracking category ID, Tracking options ID, Account ID, Is blank. The Data Structure does not have these field but brings them in anyway.
Many Thanks !
Welcome to the Make community!
“Looping” Through Array Items
When you see an ARRAY, think ITERATOR module.
Then,
Combining Bundles Using Aggregators
Every result (item/record) from trigger/iterator/list/search/match modules will output a bundle. This can result in multiple bundles, which then trigger multiple operations in future modules (one operation per bundle). To “combine” multiple bundles into a single variable, you’ll need to use an aggregator of some sort.
Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.
Using an Array Aggregator will allow you to “unselect” properties that you do not want.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.