Java Client Query
From OpenIndivo Documentation Wiki
The query capabilities on the Indivo server are very limited at this point. To date, a single query can be issued. The result of the query is a list of Indivo Ids for owners who have granted the calling actor "query" access to their record.
[edit]
Code examples
[edit]
Querying for a list of accessible Indivo Ids
//authenticate to the server
String username = "username@indivohealth.org";
String password = "password";
AuthenticateResultType authResult = client.authenticate(
username,
password);
//query the server
QueryResultType queryResult = client.query(
authResult.getActorTicket(),
"*");
List idList = queryResult.getIndivoId();

