resellersrs-x:checktransfer

Description

check_transfer

Query

api/admin/check_transfer

List Variable

Nama Tipe Data
resellerid Integer Required Resellerid
domain Varchar Requred Domain

Example

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["resellerid"] = '3'
$post["domain"] = 'domain.co.id'
$url = http://[admin url ]/api/admin/check_transfer';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $apiurl);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 100);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));
$response = curl_exec($ch);
curl_close($ch);

Example Response

Berhasil

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1000</resultCode>
    <resultMsg>Command Complete Successfully</resultMsg>
  </result>
  <resultData>
    <status>transfered</status>
    <date>1367990964</date>
  </resultData>
</epp>

Gagal

<?xml version="1.0" encoding="UTF-8"?>
<epp>
  <result>
    <resultCode>1001</resultCode>
    <resultMsg>Command Failed</resultMsg>
  </result>
</epp>