ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Scripting / API (http://forum.ispsystem.com//forumdisplay.php?f=13)
-   -   API docs not found (http://forum.ispsystem.com//showthread.php?t=3043)

Alien 06-23-2017 03:55 PM

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?

ksenya 06-27-2017 04:16 AM

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).


All times are GMT +2. The time now is 03:35 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.