This documentation has moved

XML API documentation can now be found at developer.openprovider.com. This page will remain available until September 2026, but will no longer be updated.

The XML API itself is not changing. Your existing integration continues to work.

API Module Domain renewDomainRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Module Domain > Renew== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |domain |- style="background-color:#EEEEEE;" |'''Command name''' |renew…')
Line 36: Line 36:
===Raw XML===
===Raw XML===
  <?xml version="1.0" encoding="UTF-8"?>
  <?xml version="1.0" encoding="UTF-8"?>
-
  <openxml>
+
  <openXML>
   <credentials>
   <credentials>
     <username>username</username>
     <username>username</username>
     <password>password</password>
     <password>password</password>
   </credentials>
   </credentials>
-
   <renewdomainrequest>
+
   <renewDomainRequest>
     <domain>
     <domain>
       <name>openprovider</name>
       <name>openprovider</name>
Line 47: Line 47:
     </domain>
     </domain>
     <period>1</period>
     <period>1</period>
-
   </renewdomainrequest>
+
   </renewDomainRequest>
-
  </openxml>
+
  </openXML>
  <?xml version="1.0" encoding="UTF-8"?>
  <?xml version="1.0" encoding="UTF-8"?>
-
  <openxml>
+
  <openXML>
   <reply>
   <reply>
-
     <code>0</code>
+
     < code>0</code>
     <desc></desc>
     <desc></desc>
   </reply>
   </reply>
-
  </openxml>
+
  </openXML>

Revision as of 13:47, 1 July 2010

Contents

Module Domain > Renew

Module domain
Command name renewDomainRequest
Use Renews a registered domain name.
Input
Output

-

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('renewDomainRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'domain' => array(
      'name' => 'openprovider',
      'extension' => 'nl'
    ),
    'period' => 1
  ));

Raw XML

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <renewDomainRequest>
    <domain>
      <name>openprovider</name>
      <extension>nl</extension>
    </domain>
    <period>1</period>
  </renewDomainRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc></desc>
  </reply>
</openXML>
Views
Personal tools