API Module Domain modifyDomainRequest
From Openprovider API documentation
(Difference between revisions)
| Line 19: | Line 19: | ||
*[[API Format Nameservers|nameServers]] | *[[API Format Nameservers|nameServers]] | ||
*useDomicile | *useDomicile | ||
| - | * | + | *isLocked |
| + | *autorenew ''( on | off | default )'' | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|'''Output''' | |'''Output''' | ||
Revision as of 07:39, 7 December 2010
Contents |
Module Domain > Modify
| Module | domain |
| Command name | modifyDomainRequest |
| Use | Modifies the data of an existing domain |
| Input |
|
| Output |
- |
Examples
Using PHP class
$request = new OP_Request;
$request->setCommand('modifyDomainRequest')
->setAuth(array('username' => 'username', 'password' => 'password'))
->setArgs(array(
'adminHandle' => 'SR003891-NL',
'techHandle' => 'SR003891-NL',
'domain' => array(
'name' => 'openprovider',
'extension' => 'nl'
),
'nsGroup' => 'MyServer'
));
Raw XML
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
<credentials>
<username>username</username>
<password>password</password>
</credentials>
<modifyDomainRequest>
<adminHandle>SR003891-NL</adminHandle>
<techHandle>SR003891-NL</techHandle>
<domain>
<name>openprovider</name>
<extension>nl</extension>
</domain>
<nsGroup>MyServer</nsGroup>
</modifyDomainRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
<reply>
< code>0</code>
<desc></desc>
</reply>
</openXML>