API Module SSL renewSslCertRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Module SSL certificates > Renew Order== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |SSL certificates |- style="background-color:#EEEEEE;" …')
(Module SSL certificates > Renew Order)
 
Line 9: Line 9:
|-
|-
|'''Use'''
|'''Use'''
-
|Use this call to renew a SSL certificate
+
|Use this call to renew a SSL certificate. Certificate will be renewed with the same data as the initial one.
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Input'''
|'''Input'''

Current revision as of 08:57, 20 August 2018

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