API Module Reseller retrieveStatisticsResellerRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Raw XML)
Line 41: Line 41:
   </credentials>
   </credentials>
   <retrieveStatisticsResellerRequest />
   <retrieveStatisticsResellerRequest />
 +
</openXML>
 +
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<openXML>
 +
  <reply>
 +
    <nowiki><code>0</code></nowiki>
 +
    <desc></desc>
 +
    <data>
 +
      <customer>
 +
        <total>447</total>
 +
        <modified>2016-06-17 13:13:02</modified>
 +
      </customer>
 +
      <currency>
 +
        <modified>2010-08-01 09:30:54</modified>
 +
      </currency>
 +
      <domain>
 +
        <byStatus>
 +
            <ACT>11</ACT>
 +
            <FAI>24</FAI>
 +
            <PEN>0</PEN>
 +
            <REQ>3</REQ>
 +
        </byStatus>
 +
        <total>42</total>
 +
      </domain>
 +
      <ssl>
 +
        <byStatus>
 +
          <ACT>1</ACT>
 +
          <FAI>73</FAI>
 +
          <PEN>0</PEN>
 +
          <REQ>13</REQ>
 +
        </byStatus>
 +
        <total>100</total>
 +
      </ssl>
 +
      <dns>
 +
        <total>1433</total>
 +
      </dns>
 +
      <spamExperts>
 +
        <exists>1</exists>
 +
        <status>deleted</status>
 +
        <incomingCount>0</incomingCount>
 +
        <incomingLimit>10</incomingLimit>
 +
        <outgoingCount>0</outgoingCount>
 +
        <outgoingLimit>1</outgoingLimit>
 +
        <withOutgoingFilter>1</withOutgoingFilter>
 +
        <createdAt>2012-10-29 10:48:30</createdAt>
 +
        <activatedAt>2012-10-29 10:48:30</activatedAt>
 +
        <expiredAt>2016-04-05 08:50:34</expiredAt>
 +
      </spamExperts>
 +
      <license>
 +
        <total>0</total>
 +
      </license>
 +
    </data>
 +
  </reply>
  </openXML>
  </openXML>

Revision as of 11:23, 17 June 2016

Contents

Module Reseller > Retrieve Statistics

Module reseller
Command name modifyResellerRequest
Use Retrieves quantitative information about your reseller account
Input

-

Output
  • customer
  • domain
  • ssl
  • license
  • dns

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('retrieveStatisticsResellerRequest')
 ->setAuth(array('username' => 'username', 'password' => 'password'))
 ->setArgs(array(
));

Raw XML

Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <retrieveStatisticsResellerRequest />
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    <code>0</code>
    <desc></desc>
    <data>
      <customer>
        <total>447</total>
        <modified>2016-06-17 13:13:02</modified>
      </customer>
      <currency>
        <modified>2010-08-01 09:30:54</modified>
      </currency>
      <domain>
        <byStatus>
           <ACT>11</ACT>
           <FAI>24</FAI>
           <PEN>0</PEN>
           <REQ>3</REQ>
        </byStatus>
        <total>42</total>
      </domain>
      <ssl>
        <byStatus>
          <ACT>1</ACT>
          <FAI>73</FAI>
          <PEN>0</PEN>
          <REQ>13</REQ>
        </byStatus>
        <total>100</total>
      </ssl>
      <dns>
        <total>1433</total>
      </dns>
      <spamExperts>
        <exists>1</exists>
        <status>deleted</status>
        <incomingCount>0</incomingCount>
        <incomingLimit>10</incomingLimit>
        <outgoingCount>0</outgoingCount>
        <outgoingLimit>1</outgoingLimit>
        <withOutgoingFilter>1</withOutgoingFilter>
        <createdAt>2012-10-29 10:48:30</createdAt>
        <activatedAt>2012-10-29 10:48:30</activatedAt>
        <expiredAt>2016-04-05 08:50:34</expiredAt>
      </spamExperts>
      <license>
        <total>0</total>
      </license>
    </data>
  </reply>
</openXML>
Views
Personal tools