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 SSL cancelSslCertRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Module SSL certificates > Cancel Order== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |SSL certificates |- style="background-color:#EEEEEE;"…')
(Raw XML)
 
(5 intermediate revisions not shown)
Line 17: Line 17:
|'''Output'''
|'''Output'''
|
|
-
-
+
*id
|}
|}
==Examples==
==Examples==
===Using PHP class===
===Using PHP class===
-
   
+
  $request = new OP_Request;
 +
$request->setCommand('cancelSslCertRequest')
 +
  ->setAuth(array('username' => 'username', 'password' => 'password'))
 +
  ->setArgs(array(
 +
    'id' => 12345,
 +
    ));
 +
 
===Raw XML===
===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>
 +
  <cancelSslCertRequest>
 +
    <id>12345</id>
 +
  </cancelSslCertRequest>
 +
</openXML>
 +
 +
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<openXML>
 +
  <reply>
 +
    < code>0</code>
 +
    <desc></desc>
 +
    <data>
 +
      <id>12345</id>
 +
    </data>
 +
  </reply>
 +
</openXML>

Current revision as of 05:32, 27 August 2018

Contents

Module SSL certificates > Cancel Order

Module SSL certificates
Command name cancelSslCertRequest
Use Use this command to cancel a non-finished SSL certificate order, or revoke an issued SSL certificate
Input
  • id
Output
  • id

Examples

Using PHP class

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

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>
  <cancelSslCertRequest>
    <id>12345</id>
  </cancelSslCertRequest>
</openXML>


<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc></desc>
    <data>
      <id>12345</id>
    </data>
  </reply>
</openXML>
Views
Personal tools