Calls may be made using either XML-RPC (from version 7.3.30) or JSON-RPC. The content-type of the request is used to distinguish between the two encodings. A content-type of “text/xml” may be used for XML-RPC and “application/json” for JSON-RPC otherwise it is assumed JSON-RPC is being used.
Authentication
We have introduced a new method of authentication to take advantage of the new Bridge Multi-user functionality, but the old method will still be supported. Either can be used for standard calls.
Old method
The first two parameters of all API calls are a username and password. If authentication fails the call is terminated and an error returned. The third parameter is always the “id” of the principal against which the query is being processed, except in the case of “ac_get_principal.”All parameters are of type “string” unless otherwise specified.