API Module SSL renewSslCertRequest

From Openprovider API documentation

Jump to: navigation, search

Contents

Module SSL certificates > Renew Order

Module SSL certificates
Command name renewSslCertRequest
Use Use this call to renew a SSL certificate. Certificate will be renewed with the same data as the initial one.
Input
  • id
Output
  • id

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('renewSslCertRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'id' => 5,
   ));

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>
  <renewSslCertRequest>
    <id>5</id>
  </renewSslCertRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc />
    <data>
      <id>5</id>
    </data>
  </reply>
</openXML>
Views
Personal tools