resellersrs-x:get_transaction

Description

get_transaction

Query

api/admin/get_transaction

List Variable

Nama Tipe Data Required
transactionid Integer Optional in transaction (10)
limit Integer Optional Limit (10)
offset Integer Optional offset(0)

Example

$post["username"] = 'user@username.com'
$post["password"] = hash('password');
$post["transactionid"] = '10'
$post["limit"] = '10'
$post["offset"] = '0'
$url = http://[admin url ]/api/admin/get_transaction';

$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>
    <value>
      <transactionid>11</transactionid>
      <date>1348678800</date>
      <resellerid>3</resellerid>
      <domain>demodemo.co.id</domain>
      <note>registrasi demodemo.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>12</transactionid>
      <date>1348678800</date>
      <resellerid>4</resellerid>
      <domain>hihihihihiihih.web.id</domain>
      <note>registrasi hihihihihiihih.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>17</transactionid>
      <date>1348765200</date>
      <resellerid>9</resellerid>
      <domain>sembadangjaya.co.id</domain>
      <note>registrasi sembadangjaya.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>24</transactionid>
      <date>1348765200</date>
      <resellerid>8</resellerid>
      <domain>ngetesinaja.web.id</domain>
      <note>registrasi ngetesinaja.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>26</transactionid>
      <date>1348765200</date>
      <resellerid>9</resellerid>
      <domain>orderduakali.co.id</domain>
      <note>registrasi orderduakali.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>28</transactionid>
      <date>1348765200</date>
      <resellerid>4</resellerid>
      <domain>hihihihihi.co.id</domain>
      <note>registrasi hihihihihi.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>33</transactionid>
      <date>1348851600</date>
      <resellerid>32</resellerid>
      <domain>astybociant.co.id</domain>
      <note>registrasi astybociant.co.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>85000</amount>
    </value>
    <value>
      <transactionid>36</transactionid>
      <date>1349456400</date>
      <resellerid>3</resellerid>
      <domain>sore-2012.web.id</domain>
      <note>registrasi sore-2012.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>37</transactionid>
      <date>1349456400</date>
      <resellerid>3</resellerid>
      <domain>2012-10-06-yeah-faizal-ini.web.id</domain>
      <note>registrasi 2012-10-06-yeah-faizal-ini.web.id (1 tahun)</note>
      <type>register</type>
      <class>ID</class>
      <amount>45000</amount>
    </value>
    <value>
      <transactionid>38</transactionid>
      <date>1349456400</date>
      <resellerid>3</resellerid>
      <domain>demo061545.co.id</domain>
      <note>Registrasi Domain demo061545.co.id via API</note>
      <type>register</type>
      <class>ID</class>
      <amount>89000</amount>
    </value>
  </resultData>
</epp>

Gagal

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