<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html><head><title>ISPCOnfig 3 remote API documentation</title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<link rel="stylesheet" type="text/css" href="definitionen.css">
|
<style type="text/css">
|
</style></head>
|
|
<body>
|
<div style="padding:40px">
|
<h1>client_add(<span class="var">$session_id</span>, <span class="var">$reseller_id</span>, <span class="var">$params</span>);</h1>
|
<br>
|
<p class="headgrp">Description: </p>
|
<p class="margin"> Adds a new client.</p><br>
|
<p class="headgrp">Input Variables: </p>
|
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$reseller_id</span>, <span class="var">$params</span></p>
|
<p class="headgrp">Parameters (in <span class="var">$params</span>): </p>
|
<p class="margin"> company_name (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> contact_name (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> customer_no (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> vat_id (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> street (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> zip (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> city (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> state (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> country (<span class="paratype">char(2)</span>)</p>
|
<p class="margin"> telephone (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> mobile (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> fax (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> email (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> internet (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> icq (<span class="paratype">varchar(16)</span>)</p>
|
<p class="margin"> notes (<span class="paratype">text</span>)</p>
|
<p class="margin"> default_mailserver (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_maildomain (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailbox (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailalias (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailaliasdomain (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailforward (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailcatchall (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailrouting (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailfilter (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_fetchmail (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_mailquota (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_spamfilter_wblist (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_spamfilter_user (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_spamfilter_policy (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> default_webserver (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_web_ip (<span class="paratype">text</span>)</p>
|
<p class="margin"> limit_web_domain (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_web_quota (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> web_php_options (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> limit_web_subdomain (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_web_aliasdomain (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_ftp_user (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_shell_user (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> ssh_chroot (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> limit_webdav_user (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> default_dnsserver (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_dns_zone (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_dns_slave_zone (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_dns_record (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> default_dbserver (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_database (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_cron (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_cron_type (<span class="paratype">enum('url','chrooted','full')</span>)</p>
|
<p class="margin"> limit_cron_frequency (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_traffic_quota (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> limit_client (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> parent_client_id (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> username (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> password (<span class="paratype">varchar(64)</span>)</p>
|
<p class="margin"> language (<span class="paratype">char(2)</span>)</p>
|
<p class="margin"> usertheme (<span class="paratype">varchar(32)</span>)</p>
|
<p class="margin"> template_master (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> template_additional (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> created_at (<span class="paratype">bigint(20)</span>)</p>
|
<p class="headgrp">Output: </p>
|
<p class="margin"> Returns the ID of the newly added Client.</p>
|
<!--<b>Output:</b>
|
<p style="margin-left:100px">Gives a record of </p> -->
|
</div>
|
|
</body></html>
|