ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   General technical discussion (http://forum.ispsystem.com//forumdisplay.php?f=8)
-   -   Domain contacts API (http://forum.ispsystem.com//showthread.php?t=3045)

RacoonCityHost 06-28-2017 04:15 AM

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

ksenya 06-30-2017 03:34 AM

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='


All times are GMT +2. The time now is 06:59 AM.

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