Arguments | Return value | REST (XML) example | REST (JSON) example | XML-RPC example
If calling by XML-RPC, note that this method takes a single struct as input, with the following keys:
FalseGET /api/xml/peopleaggregator/errorTest? HTTP/1.1
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 90
<response>
<success>false</success>
</response>
GET /api/json/peopleaggregator/errorTest? HTTP/1.1
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Content-Length: 18
{"success": false}
POST /api/xmlrpc HTTP/1.1
Content-Type: text/xml
Content-Length: 427
<?xml version='1.0'?>
<methodCall>
<methodName>peopleaggregator.errorTest</methodName>
<params>
<param>
<value><struct>
</struct></value>
</param>
</params>
</methodCall>
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 627
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><struct>
<member>
<name>success</name>
<value><boolean>0</boolean></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>