On 04/28/2010 04:07 PM, Joshua J. Kugler wrote:
On Wednesday 28 April 2010, Joshua J. Kugler elucidated thus:
> Something I've noticed about Yahoo is that they seem to like named
> parameters. Example: their docs will say that a call, say,
> getReportList, returns:
>
> ReportInfo[] - A list of all requested reports that you have access
> to in the master account.
>
> But the response will be a response will be a single attribute
> (length 1), with a name of ReportInfo, which will then be a list of
> all reports. Stated another way, instead of returning a list
> directly, it returns an object with an attribute of ReportInfo, which
> is a list. At least, that's what it does when called via Suds.
Sigh, I said all that to say:
I wonder if I should call:
client.deleteReports({reportIDs:[...]}) but I can call
See previous reply :)
client.deleteReport(11111) just fine, without naming the parameters.
Nope. This wont work because reportIDs is not an xs:long it's an ArrayOfLong.
Odd.
j