API Module Domain modifyDomainRequest
From Openprovider API documentation
(Difference between revisions)
(Created page with '==Module Domain > Modify== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |domain |- style="background-color:#EEEEEE;" |'''Command name''' |modi…') |
|||
| Line 43: | Line 43: | ||
===Raw XML=== | ===Raw XML=== | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
| - | < | + | <openXML> |
<credentials> | <credentials> | ||
<username>username</username> | <username>username</username> | ||
<password>password</password> | <password>password</password> | ||
</credentials> | </credentials> | ||
| - | < | + | <modifyDomainRequest> |
| - | < | + | <adminHandle>SR003891-NL</adminHandle> |
| - | < | + | <techHandle>SR003891-NL</techHandle> |
<domain> | <domain> | ||
<name>openprovider</name> | <name>openprovider</name> | ||
<extension>nl</extension> | <extension>nl</extension> | ||
</domain> | </domain> | ||
| - | < | + | <nsGroup>MyServer</nsGroup> |
| - | </ | + | </modifyDomainRequest> |
| - | </ | + | </openXML> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
| - | < | + | <openXML> |
<reply> | <reply> | ||
| - | <code>0</code> | + | < code>0</code> |
<desc></desc> | <desc></desc> | ||
</reply> | </reply> | ||
| - | </ | + | </openXML> |
Revision as of 13:47, 1 July 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>