US: 1-941-4621-069
Cyprus: 3-572-2052-781

Go Back Forums > Modifications / Add-ons > Scripting / API

Thread Tools
Old 06-23-2017, 03:55 PM   #1
Junior Member
Join Date: Nov 2016
Posts: 26
Alien is on a distinguished road
Send a message via Skype™ to Alien
Default API docs not found

I looked through your wiki docs, but could not find information on how I can create an API call... this process is not described? If I gave you an example of the operation that I want to perfrom, could you make that call for me?
Alien is offline   Reply With Quote
Old 06-27-2017, 04:16 AM   #2
ISPsystem team
Join Date: Jul 2014
Posts: 443
ksenya is on a distinguished road

The easiest way to generate an API request is to perform a desired action in the panel interface and view the function and its parameters in the log file.

Complete the following steps:

1. Open the log file of the control panel with the ''tail'' command:

tail -f /usr/local/mgr5/var/XXXmgr.log | grep Request

where XXX is a short name of the control panel. For example: bill, isp, vm, dci

2. Execute a required action in the interface of the control panel. In the log file you will see the function being executed at that moment, and its parameters (it is shown in green color starting from INFO Request).
ksenya is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 05:52 PM.