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 modifyDomainRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
*'''techHandle'''
*'''techHandle'''
*nsGroup
*nsGroup
 +
*nsTemplateName
*[[API Format Nameservers|nameServers]]
*[[API Format Nameservers|nameServers]]
*useDomicile
*useDomicile

Revision as of 10:03, 25 March 2011

Contents

Module Domain > Modify

Module domain
Command name modifyDomainRequest
Use Modifies the data of an existing domain
Input
  • domain
  • adminHandle
  • techHandle
  • nsGroup
  • nsTemplateName
  • nameServers
  • useDomicile
  • isLocked
  • autorenew ( on | off | default )
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>
Views
Personal tools