API Module Domain modifyDomainRequest
From Openprovider API documentation
(Difference between revisions)
| Line 14: | Line 14: | ||
| | | | ||
*'''[[API Format Domain|domain]]''' | *'''[[API Format Domain|domain]]''' | ||
| - | * | + | *ownerHandle |
| - | * | + | *adminHandle |
| + | *techHandle | ||
*nsGroup | *nsGroup | ||
*nsTemplateName | *nsTemplateName | ||
Revision as of 09:53, 23 March 2012
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>