API Module Email Templates deleteEmailTemplateRequest
From Openprovider API documentation
(Difference between revisions)
(Created page with '==Module Email Templates > Delete== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |Email Templates |- style="background-color:#EEEEEE;" |'''Com…') |
(→Using PHP class) |
||
Line 26: | Line 26: | ||
->setAuth(array('username' => 'username', 'password' => 'password')) | ->setAuth(array('username' => 'username', 'password' => 'password')) | ||
->setArgs([ | ->setArgs([ | ||
- | ' | + | 'id' => 1409, |
- | + | ]); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
===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.'' | ''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.'' |
Revision as of 12:56, 17 September 2015
Contents |
Module Email Templates > Delete
Module | Email Templates |
Command name | deleteEmailTemplateRequest |
Use | Deletes an email template. |
Input |
|
Output |
|
Examples
Using PHP class
$request = new OP_Request; $request->setCommand('createEmailTemplateRequest') ->setAuth(array('username' => 'username', 'password' => 'password')) ->setArgs([ 'id' => 1409, ]);
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.