API Module SSL changeApproverEmailAddressSslCertRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Module SSL certificates > Change Approver Email Address== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |SSL certificates |- style="backgroun…')
 
(2 intermediate revisions not shown)
Line 23: Line 23:
==Examples==
==Examples==
===Using PHP class===
===Using PHP class===
-
   
+
  $request = new OP_Request;
 +
$request->setCommand('changeApproverEmailAddressSslCertRequest')
 +
  ->setAuth(array('username' => 'username', 'password' => 'password'))
 +
  ->setArgs(array(
 +
    'id' => 12345,
 +
    'approverEmail' => 'info@openprovider.nl',
 +
    ));
 +
 
===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>username</password>
 +
  </credentials>
 +
  <changeApproverEmailAddressSslCertRequest>
 +
    <id>12345</id>
 +
    <approverEmail>info@openprovider.nl</approverEmail>
 +
  </changeApproverEmailAddressSslCertRequest>
 +
</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 11:14, 23 March 2012

Contents

Module SSL certificates > Change Approver Email Address

Module SSL certificates
Command name changeApproverEmailAddressSslCertRequest
Use Use this command to change the approver e-mail address of an unfinished SSL certificate order. The e-mail is not re-sent (see resendApproverEmailSslCertRequest)
Input
  • id
  • approverEmail
Output

-

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('changeApproverEmailAddressSslCertRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'id' => 12345,
    'approverEmail' => 'info@openprovider.nl',
   ));

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>username</password>
  </credentials>
  <changeApproverEmailAddressSslCertRequest>
    <id>12345</id>
    <approverEmail>info@openprovider.nl</approverEmail>
  </changeApproverEmailAddressSslCertRequest>
</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