Actually, one more before I bug you too much.
I've been getting XML back from each API request and feeding them into SimpleXMLElement to be able to use them in the foreach loops. It dawns on me that maybe requesting it in a different format can save some effort, but it doesn't seem like the original php object format is hierarchical like XML (and JSON, I presume) is. I see that there is an idsubdatatable_in_db set, which I assume references the later hierarchy, but I don't know the API call to retrieve it. Adding &idSubtable={the idsubdatatable} as a parameter doesn't seem to produce anything usable.
Any insight on whether I should keep at using XML (using isset($report->subtable) to drill through the hierarchy) or is there a more efficient option?
I've been getting XML back from each API request and feeding them into SimpleXMLElement to be able to use them in the foreach loops. It dawns on me that maybe requesting it in a different format can save some effort, but it doesn't seem like the original php object format is hierarchical like XML (and JSON, I presume) is. I see that there is an idsubdatatable_in_db set, which I assume references the later hierarchy, but I don't know the API call to retrieve it. Adding &idSubtable={the idsubdatatable} as a parameter doesn't seem to produce anything usable.
Any insight on whether I should keep at using XML (using isset($report->subtable) to drill through the hierarchy) or is there a more efficient option?