Web API Server Configuration: Difference between revisions

From RangerMSP Wiki - PSA software for MSPs and IT services providers
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


=Introduction=
=Introduction=
Using the [[Commit_API_Developers_Guide#API_by_HTTP_.28Web_API.29|Web API]] you can remotely access and update your CommitCRM system via HTTP and easily integrate with your own applications. The Web API components run as part of the CommitCRM Server service which is used for the [http://www.commitcrm.com/products/email-connector/ Email Connector] and [http://www.commitcrm.com/products/alerts-server/ Alerts Server] modules.
Using the [[API_Developers_Guide#API_by_HTTP_.28Web_API.29|Web API]] you can remotely access and update your RangerMSP system via HTTP and easily integrate with your own applications. The Web API components run as part of the CRM Server service which is used for the [http://{{SERVERNAME}}/products/email-connector/ Email Connector] and [http://{{SERVERNAME}}/products/alerts-server/ Alerts Server] modules.
<br><br>
<br><br>


=Configuration=
=Configuration=
By default the CommitCRM Server will support API calls that come over port '''4964''' but you can change that by editing the following file: <br>
By default the RangerMSP Server will support API calls that come over port '''4964''' but you can change that by editing the following file: <br>




* \CommitCRM\Server\CmtWSrv.ini
* \RangerMSP\Server\CmtWSrv.ini




Line 25: Line 25:




* \CommitCRM\Server\CmtWPDbEng.ini<br>
* \RangerMSP\Server\CmtWPDbEng.ini<br>
* \CommitCRM\Server\CmtWPDbQry.ini
* \RangerMSP\Server\CmtWPDbQry.ini




Note: After any .ini  file change you must RESTART the 'CommitCRM Server' service on your server.<br>
Note: After any .ini  file change you must RESTART the 'CRM Server' service on your server.<br>

Latest revision as of 11:31, 30 September 2021

User Manuals > Web API Server Configuration

Introduction

Using the Web API you can remotely access and update your RangerMSP system via HTTP and easily integrate with your own applications. The Web API components run as part of the CRM Server service which is used for the Email Connector and Alerts Server modules.

Configuration

By default the RangerMSP Server will support API calls that come over port 4964 but you can change that by editing the following file:


  • \RangerMSP\Server\CmtWSrv.ini


Also, the API is divided into two modules:


  1. DbQry - this lets you query data
  2. DbEng - this lets you add/edit data.


You need to enable each API module separately and set up a password for each. This password is then provided when you connect remotely and only once the password is validated (and the module (DbQry / DbEng) is enabled), a received request is performed.


You enable these API modules by editing the following files (e.g. configure the setting to ON):


  • \RangerMSP\Server\CmtWPDbEng.ini
  • \RangerMSP\Server\CmtWPDbQry.ini


Note: After any .ini file change you must RESTART the 'CRM Server' service on your server.