Affects Version/s: 14, 15
Component/s: CID Superfecta
CID Superfecta ConnectWise REST API & ClientID requirements.
In June 2019 ConnectWise announced they will no longer support SOAP API and will require a ClientID for their REST API. When SOAP was discontinued CID Superfecta would not connect to ConnectWise installations.
I re-wrote, see attached, the CID Superfecta for FreePBX Asterisk to incorporate the ConnectWise ClientID and REST API.
You will be required to request access to the ConnectWise Developer Network and create a private ClientID.
See https:// developer . connectwise . com/ClientID (Needed to break apart URL)
The modification is to the php script located on the FreePBX server at /var/www/html/admin/modules/superfecta/sources/source-ConnectWise.module
The script will check the CW Companies first for the phone number match, returning the Company Name, and then, if not found, the CW contacts, returning the contact First & Last Name.
Cut & Paste the attached into the source-ConnectWise.module, replacing what is currently in the script. Watch out for line returns for lines that should be 1 line, pasting as 2.
Please freely share this outside of CW Forums as long as I am still provided credit. There is a way to have a developer ClientID for mutiple installs. Hopefully Superfecta Developers take this and use it with the Public Development ClientID so each installation site does not have to create one for their own use.
The SOAP user prompts have been replaced with REST API prompts. The ConnectWise Public & Private API key using Members -> API Keys will be used and not integrator logins via the setup tables.
- is duplicated by
FREEPBX-20741 CID Superfecta ConnectWise No longer can login.