06-28-2017, 04:15 AM | #1 |
Member
Join Date: Jan 2015
Posts: 44
|
Domain contacts API
Hi,
how can I add domain contact via API? https://doc.ispsystem.com/index.php/..._Documentation doesn't have an answer to my question In https://doc.ispsystem.com/index.php/BILLmanager_APImI found only how to delete and copy documents |
06-30-2017, 03:34 AM | #2 |
ISPsystem team
Join Date: Jul 2014
Posts: 443
|
In order to use API, you don't need to know all the functions and parameters. You only need to follow the steps below:
1) Open the log file of the control panel with the tail command: tail -f /usr/local/mgr5/var/XXXmgr.log where XXX is a short name of a control panel, such as bill, isp, vm, dci, For BILLmanager the command will look like this: tail -f /usr/local/mgr5/var/billmgr.log 2) Perform a required action in the web-interface, and in the log file you will see the function and its parameters. The following is the function that is called when you pay for a service: Feb 3 08:59:30 [1479:1454] core_module INFO Request [188.120.252.183][root#a.test111@ispsystem.com(36)] 'clicked_button=bay&func=basket&id=235&operafake=1 486109885626&progressid=false&promocode=&sfrom=aja x&sok=ok&stylesheet=' |
|
|