API Module SSL modifySslCertRequest

From Openprovider API documentation

Revision as of 15:53, 26 March 2015 by WikiSysop (Talk | contribs)
Jump to: navigation, search

Contents

Module SSL certificates > Modify Order

Module SSL certificates
Command name modifySslCertRequest
Use Use this call to modify the domain validation settings of an SSL certificate order
Input
Output

-

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('modifySslCertRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'id' => 5,
    'domainValidationMethods' => array(
      'openprovider.com' => 'dns',
    ),
   ));

Raw XML

Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <modifySslCertRequest>
    <id>28945</id>
    <domainValidationMethods>
      <openprovider.ru>dns</openprovider.ru>
    </domainValidationMethods>
  </modifySslCertRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc />
    <data>
      <id>2480</id>
    </data>
  </reply>
</openXML>
Views
Personal tools