API Module Domain modifyDomainRequest

From Openprovider API documentation

Revision as of 15:15, 22 April 2010 by WikiSysop (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>
    0
    <desc></desc>
  </reply>
</openxml>
Views
Personal tools