Task #39612
Documentation not clear about passing arrays to methods
| Status: | New | Start date: | 2012-08-08 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
I am using the call method to call the record.list method. According to the documentation the three parameters (with the third optional) are:
string (id),
string (method),
array (params)
As far as I understand, the third parameter shall contain the parameters for the called function. But how do I pass an array to the call function? I am using http://www.tomhost.de/dev/tools/xmlrpc-tt/ to test the xml-rpc-calls, but whenever I try to add a third parameter to the call function, I just get the following error:Error: XML-RPC Fault #623 : Calling parameters do not match signature
Is there a particular notation I should use for arrays here?
History
Updated by Christian Eßl 11 months ago
Ahh, my fault. There is a notation in the XML-RPC Data Model for arrays. :)
The online testing-tool I used just isn't capable of handling arrays.