ZOHO_API_VERSION
ZOHO_API_VERSION
ReportClient provides the php based language binding to the https based api of ManageEngine Analytics Plus.
addRow(string $table_uri, array() $columnvalues, array() $config = array()) : array
Adds a row to the specified table identified by the URI.
string | $table_uri | The URI of the table. |
array() | $columnvalues | Contains the values for the row. The column name(s) are the key. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Successfully added rows with value.
deleteData(string $table_uri, string $criteria = NULL, array() $config = array())
Delete the data in the specified table identified by the URI.
string | $table_uri | The URI of the table. |
string | $criteria | The criteria to be applied for deleting. Only rows matching the criteria will be deleted. Can be null. Incase it is null, then all rows will be deleted. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
updateData(string $table_uri, array() $columnvalues, string $criteria = NULL, array() $config = array())
Update the data in the specified table identified by the URI.
string | $table_uri | The URI of the table. |
array() | $columnvalues | Contains the values to be updated. The column name(s) are the key. |
string | $criteria | The criteria to be applied for updating. Only rows matching the criteria will be updated. Can be null. Incase it is null, then all rows will be updated. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
importData(string $table_uri, string $import_type, file $file, string $auto_identify, string $on_error, array() $config = array()) : object
Import the data contained in a given file into the table identified by the URI.
string | $table_uri | The URI of the table. |
string | $import_type | The type of import |
file | $file | The file containing the data to be imported into the table. |
string | $auto_identify | Used to specify whether to auto identify the CSV format. |
string | $on_error | This parameter controls the action to be taken incase there is an error during import. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Import result class object.
importDataAsString(string $table_uri, string $import_type, string $import_data, string $auto_identify, string $on_error, array() $config = array()) : object
Import the data contained in a given string into the table identified by the URI.
string | $table_uri | The URI of the table. |
string | $import_type | The type of import |
string | $import_data | The string containing the data to be imported into the table. |
string | $auto_identify | Used to specify whether to auto identify the CSV format. |
string | $on_error | This parameter controls the action to be taken incase there is an error during import. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Import result class object.
exportData(string $table_uri, string $file_format, string $criteria = NULL, array() $config = array()) : string
Exports the data/report of table (or report) identified by the URI.
string | $table_uri | The URI of the table. |
string | $file_format | The format in which the data is to be exported. |
string | $criteria | The criteria to be applied for exporting. Only rows matching the criteria will be exported. Can be null. Incase it is null, then all rows will be updated. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Table data.
exportDataUsingSQL(string $table_uri, string $file_format, string $sql_query, array() $config = array()) : string
Exports the data with the given SQL Query.
string | $table_uri | The URI of the table. |
string | $file_format | The format in which the data is to be exported. |
string | $sql_query | The SQL Query whose output is exported. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Table data.
copyDatabase(string $db_uri, string $db_key, string $new_db_name, array() $config = array()) : string
Copy a specified database identified by the URI.
string | $db_uri | The URI of the database. |
string | $db_key | Contains database key that user wants to copy. |
string | $new_db_name | Contains new database name. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
The new database id.
deleteDatabase(string $user_uri, string $db_name, array() $config = array())
Delete a specified database from the ManageEngine Analytics Plus Account.
string | $user_uri | The URI of the user. |
string | $db_name | The name of the database to be deleted from the ManageEngine Analytics Plus Account. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
enableDomainDB(string $user_uri, string $db_name, string $domain_name, array() $config = array()) : array()
Enable database for custom domain.
string | $user_uri | The URI of the user. |
string | $db_name | The database names which you want to show in your custom domain. |
string | $domain_name | Custom domain name. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Response result of domain database status.
disableDomainDB(string $user_uri, string $db_name, string $domain_name, array() $config = array()) : array()
Disable database for custom domain.
string | $user_uri | The URI of the user. |
string | $db_name | The database names which you want to disable from your custom domain. |
string | $domain_name | Custom domain name. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Response result of domain database status.
createTable(string $db_uri, JSON $table_design_JSON, array() $config = array())
Create a table in the specified database.
string | $db_uri | The URI of the database. |
JSON | $table_design_JSON | Table structure in JSON format (includes table name, description, folder name, column and lookup details). |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
autoGenReports(string $table_uri, string $source, array() $config = array()) : string
To generate reports.
string | $table_uri | The URI of the table. |
string | $source | To set column or table. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Autogenerate result.
createSimilarViews(string $table_uri, string $ref_view, string $folder_name, boolean $copy_customformula, boolean $copy_aggformula, array() $config = array()) : array()
Create reports similar as another table reports.
string | $table_uri | The URI of the table. |
string | $ref_view | The reference table name. |
string | $folder_name | Folder name where the reports to be saved. |
boolean | $copy_customformula | If true, it will create reports with custom formula else it will ignore that formula. |
boolean | $copy_aggformula | If true, it will create reports with aggregate formula else it will ignore that formula. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Response result of similar views status.
renameView(string $db_uri, string $viewname, string $new_viewname, string $new_viewdesc = NULL, array() $config = array())
Rename the specified view with the new name and description.
string | $db_uri | The URI of the database. |
string | $viewname | Current name of the view. |
string | $new_viewname | New name for the view. |
string | $new_viewdesc | New description for the view. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
copyReports(string $db_uri, string $views, string $db_name, string $db_key, array() $config = array())
The Copy Reports API is used to copy one or more reports from one database to another within the same account or even across user accounts.
string | $db_uri | The URI of the Database. |
string | $views | This parameter holds the list of view names. |
string | $db_name | The database name where the reports had to be copied. |
string | $db_key | The secret key used for allowing the user to copy the database / reports. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
copyFormula(string $table_uri, string $formula, string $db_name, string $db_key, array() $config = array())
The Copy Formula API is used to copy one or more formula columns from one table to another within the same database or across databases and even across one user account to another.
string | $table_uri | The URI of the table. |
string | $formula | This parameter holds the list of formula names. |
string | $db_name | The database name where the formula's had to be copied. |
string | $db_key | The secret key used for allowing the user to copy the formula. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
addColumn(string $table_uri, string $column_name, string $data_type, array() $config = array())
Adds a column to the specified table identified by the URI.
string | $table_uri | The URI of the table. |
string | $column_name | Contains the name of the column to be added. |
string | $data_type | Contains the datatype of the column to be added. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
deleteColumn(string $table_uri, string $column_name, array() $config = array())
Delete the column in the specified table identified by the URI.
string | $table_uri | The URI of the table. |
string | $column_name | Contains the name of the column to be deleted. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
renameColumn(string $table_uri, string $old_column_name, string $new_column_name, array() $config = array())
Rename the column in the specified table identified by the URI.
string | $table_uri | The URI of the table. |
string | $old_column_name | Contains the name of the column to be modified. |
string | $new_column_name | Contains the new column name. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
hideColumn(string $table_uri, array() $columnNames, array() $config = array()) : array()
To hide columns in the table.
string | $table_uri | The URI of the table. |
array() | $columnNames | The column names of the table. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Response result of hidecolumn.
showColumn(string $table_uri, array() $columnNames, array() $config = array()) : array()
Get the plan informations.
string | $table_uri | The URI of the table. |
array() | $columnNames | The column names of the table. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Response result of showcolumn.
addLookup(string $table_uri, string $column_name, string $referred_table, string $referred_column, string $on_error, array() $config = array())
Add the lookup for the given column.
string | $table_uri | The URI of the table. |
string | $column_name | Name of the column (Child column). |
string | $referred_table | Name of the referred table (parent table). |
string | $referred_column | Name of the referred column (parent column). |
string | $on_error | This parameter controls the action to be taken incase there is an error during lookup. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
removeLookup(string $table_uri, string $column_name, array() $config = array())
Remove the lookup for the given column.
string | $table_uri | The URI of the table. |
string | $column_name | Name of the column. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
getDatabaseMetadata(string $user_uri, string $metadata, array() $config = array()) : array()
This method is used to get the meta information about the reports.
string | $user_uri | The URI of the user. |
string | $metadata | It specifies the information to be fetched. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
The metadata.
getDatabaseName(string $user_uri, string $db_id, array() $config = array()) : string
Get database name for a specified database identified by the URI.
string | $user_uri | The URI of the user. |
string | $db_id | The ID of the database. |
array() | $config | $config Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Database name for a specified database.
isDbExist(string $user_uri, string $dbname, array() $config = array()) : boolean
Check wheather the database is exist or not.
string | $user_uri | The URI of the user. |
string | $dbname | The database name. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Wheather the database is exist or not.
getCopyDbKey(string $db_uri, array() $config = array()) : string
Get copy database key for a specified database identified by the URI.
string | $db_uri | The URI of the database. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Copy database key for a specified database.
getViewName(string $user_uri, string $obj_id, array() $config = array()) : string
This function returns the name of a view in ManageEngine Analytics Plus.
string | $user_uri | The URI of the User. |
string | $obj_id | The view id (object id). |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
The View name.
getInfo(string $table_uri, array() $config = array()) : array()
This method returns the Database ID (DBID) and View ID (OBJID) of the corresponding Database.
string | $table_uri | The URI of the table. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
The View-Id (object id) and Database-Id.
shareView(string $db_uri, string $email_ids, string $views, string $criteria = NULL, array() $config = array())
This method is used to share the views (tables/reports/dashboards) created in ManageEngine Analytics Plus with users.
string | $db_uri | The URI of the database. |
string | $email_ids | It contains the users email-id (comma separated). |
string | $views | It contains the view names. |
string | $criteria | It can be null. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
removeShare(string $db_uri, string $email_ids, array() $config = array())
This method is used to remove the shared views (tables/reports/dashboards) in ManageEngine Analytics Plus from the users.
string | $db_uri | The URI of the database. |
string | $email_ids | It contains the users email-id (comma separated). |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
addDbOwner(string $db_uri, string $email_ids, array() $config = array())
This method is used to add new owners to the reports database.
string | $db_uri | The URI of the database. |
string | $email_ids | It contains the users email-id (comma separated). |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
removeDbOwner(string $db_uri, string $email_ids, array() $config = array())
This method is used to remove the existing owners from the reports database.
string | $db_uri | The URI of the database. |
string | $email_ids | It contains the owners email-id (comma separated). |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
getShareInfo(string $db_uri, array() $config = array()) : object
Get the shared informations.
string | $db_uri | The URI of the database. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
ShareInfo class object.
getViewUrl(string $table_uri, array() $config = array()) : string
This method returns the URL to access the mentioned view.
string | $table_uri | The URI of the table. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
The View URI.
getEmbedURL(string $table_uri, string $criteria = NULL, array() $config = array()) : string
The Get Embed URL API is used to get the embed URL of the particular table / view. This API is available only for the White Label Administrator.
string | $table_uri | The URI of the table. |
string | $criteria | It can be null. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
The embed URI.
getUsers(string $user_uri, array() $config = array()) : array()
To get the users list.
string | $user_uri | The URI of the user. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
Users list.
addUser(string $user_uri, string $emails, array() $config = array())
Adds the specified user(s) into your ManageEngine Analytics Plus Account.
string | $user_uri | The URI of the user. |
string | $emails | The email addresses of the users to be added to your ManageEngine Analytics Plus Account separated by comma. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
removeUser(string $user_uri, string $emails, array() $config = array())
Removes the specified user(s) from your ManageEngine Analytics Plus Account.
string | $user_uri | The URI of the user. |
string | $emails | The email addresses of the users to be removed from your ManageEngine Analytics Plus Account separated by comma. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
activateUser(string $user_uri, string $emails, array() $config = array())
Activates the specified user(s) in your ManageEngine Analytics Plus Account.
string | $user_uri | The URI of the user. |
string | $emails | The email addresses of the users to be activated in your ManageEngine Analytics Plus Account separated by comma. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
deActivateUser(string $user_uri, string $emails, array() $config = array())
Deactivates the specified user(s) from your ManageEngine Analytics Plus Account.
string | $user_uri | The URI of the user. |
string | $emails | The email addresses of the users to be deactivated from your ManageEngine Analytics Plus Account separated by comma. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
getPlanInfo(string $user_uri, array() $config = array()) : object
Get the plan informations.
string | $user_uri | The URI of the user. |
array() | $config | Contains any additional control parameters. Can be null. |
If any communication related error(s) like request time out occurs when trying to contact the service.
If the server has recieved the request but did not process the request due to some error.
If the server has responded but client was not able to parse the response.
PlanInfo class object.
getUserURI(string $email) : string
Returns the URI for the specified user login email id. This URI should be used only in case of METADATA Action.
string | User email id to get the database metadata. |
If any communication related error(s) like request time out occurs when trying to contact the service.
URI for the user.
getDbURI(string $email, string $db_name) : string
Returns the URI for the specified database. This URI should be used only in case of COPYDATABASE,GETCOPYDBKEY Action.
string | User email id. |
|
string | $db_name | The name of the database. |
If any communication related error(s) like request time out occurs when trying to contact the service.
URI for the database.
getURI(string $email, string $db_name, string $table_name) : string
Returns the URI for the specified database table (or report).
string | The owner of the database containing the table (or report). |
|
string | $db_name | The name of the database containing the table (or report). |
string | $table_name | The name of the table (or report). |
If any communication related error(s) like request time out occurs when trying to contact the service.
URI for the table.
setProxy(string $proxy_host, integer $proxy_port, string $proxy_type, string $proxy_user_name, string $proxy_password)
Used to specify the proxy server details.
string | $proxy_host | The hostname/ip address of the proxy-server. |
integer | $proxy_port | The proxy server port. |
string | $proxy_type | Can be any one ( HTTP , HTTPS , BOTH ).Specify "BOTH" if same configuration can be used for both http and https. |
string | $proxy_user_name | The user name for proxy-server authentication. |
string | $proxy_password | The password for proxy-server authentication. |