API Module Domain renewDomainRequest
From Openprovider API documentation
(Difference between revisions)
WikiSysop (Talk | contribs)
(Created page with '==Module Domain > Renew== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |domain |- style="background-color:#EEEEEE;" |'''Command name''' |renew…')
Newer edit →
(Created page with '==Module Domain > Renew== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |domain |- style="background-color:#EEEEEE;" |'''Command name''' |renew…')
Newer edit →
Revision as of 15:22, 22 April 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>
0
<desc></desc>
</reply>
</openxml>