Characteristics Common to Modulo Risk Manager Features

 

URL PREFIX

All URLs used to run queries are preceded by the Modulo Risk Manager address, for example: https://system.modulo.com/RM.WebApplication/.

In this document, this address is identified by "{RMUrl}".

 

REQUEST

All objects are sent bare (not wrapped) and may be in JSON or XML format. Their type must be specified in the Content-Type header. For details, see Technical Orientations -> Content-Type.

 

RESPONSE

All returned objects are sent bare (not wrapped) and may be in JSON or XML format, depending on the type specified in the Accept or Content-Type headers. For details, see Technical Orientations -> Accept.

 

ERROR RESPONSE

If an error occurs while a feature is being executed, a JSON object will be returned in the following format:

{

string error;

string error_description;

string error_uri;

string[] error_details;

ApiApplicationError[] app_errors;

}

 

The ApiApplicationError object is in the following format:

ApiApplicationError

{

string error_code;

string parameter_name;

string[] values;

}

 

Depending on the error_code, a parameter_name may be returned, along with a list of values. For details, see Error Handling -> Detailed API Errors.