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 generateOtpTokenSslCertRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Raw XML)
(Module SSL certificates > Generate Otp Token)
Line 8: Line 8:
|generateOtpTokenSslCertRequest
|generateOtpTokenSslCertRequest
|-
|-
-
|'''Use'''
+
|'''Use'''.
-
|Use this call to get one-time token to get end-user access to SSL certificate order in the SSL Panel
+
|Use this call to get one-time token to get end-user access to SSL certificate order in the SSL Panel.
 +
|In the response you will get URL and token to use
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Input'''
|'''Input'''

Revision as of 08:02, 2 February 2017

Contents

Module SSL certificates > Generate Otp Token

Module SSL certificates
Command name generateOtpTokenSslCertRequest
Use. Use this call to get one-time token to get end-user access to SSL certificate order in the SSL Panel. In the response you will get URL and token to use
Input
  • id - order Id in the OP system

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('generateOtpTokenSslCertRequest')
  ->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>
  <generateOtpTokenSslCertRequest>
    <id>5</id>
  </generateOtpTokenSslCertRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc />
    <data>
      <uri>https://sslpanel.io/auth-order-otp-token</uri>
      <token>aqlFgU8wHHAD0fGCDvS2iUlsou5bq0LY</token>
      <expireAt>2017-02-02 09:10:04</expireAt>
    </data>
  </reply>
</openXML>
Views
Personal tools