Four services are available through the rest implementation :
example : http://localhost:8080/squale-web/rest/application/1

Note : When a factor has for value -1.0, that means this factor hasn't been computed.
This web service :
You can't use these web services if you haven't a Squale account.
To choose the return type, use the "Accept" property in the html request header. Set the property to "application/json" to have result in json. In all other case the result will be in xml ("application/xml").
Only English and French are available for the return language.
This service returns :
An application is available for the authenticated user if the application is public or if the user as rights for the application.
This service returns :
An application is available for the authenticated user if the application is public or if the user as rights for the application.
This service returns:
The service return the result only if the user has right on the application searched or if the application searched is a public application
This service returns:
The service return the result only if the user has right on the application linked to the audit searched or if the application linked to the audit searched is a public application
This client do the http request for you and return the result as an object. This client is in squale-rest.jar
Example :
SqualeRestHttpClient httpClient = new SqualeRestHttpClient();
String login = "login" ;
String password = "password" ;
String host = "localhost" ;
int port = 8080;
String contextRoot = "squale-web";
//Initialize the client
httpClient.initialize( login, password, host, port, contextRoot );
//Do the request
Applications availableApplications = httpClient.getApplicationsFull();
Applications availableApplications = httpClient.getApplications();
ByApplication application = httpClient.getApplication( applicationId );
ByApplication audit = httpClient.getAudit( auditId );
Three request methods are available for the http client :