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

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 06-28-2017, 04:15 AM   #1
Member
 
Join Date: Jan 2015
Posts: 44
RacoonCityHost is on a distinguished road
Default 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
RacoonCityHost is offline   Reply With Quote
Old 06-30-2017, 03:34 AM   #2
ISPsystem team
 
Join Date: Jul 2014
Posts: 443
ksenya is on a distinguished road
Default

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='
ksenya is offline   Reply With Quote
Reply

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 10:16 AM.