API Module Email Templates searchEmailTemplateRequest
From Openprovider API documentation
(Difference between revisions)
(→Using PHP class) |
(→Using PHP class) |
||
| Line 32: | Line 32: | ||
'group' => 'ive', | 'group' => 'ive', | ||
'isActive' => true, | 'isActive' => true, | ||
| + | 'isDefault' => true, | ||
]); | ]); | ||
===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:40, 17 September 2015
Contents |
Module Email Templates > Search
| Module | Email Templates |
| Command name | searchEmailTemplateRequest |
| Use | Returns a list of email templates matching search criteria |
| Input |
|
| Output |
|
Examples
Using PHP class
$request = new OP_Request;
$request->setCommand('searchEmailTemplateRequest')
->setAuth(array('username' => 'username', 'password' => 'password'))
->setArgs([
'group' => 'ive',
'isActive' => true,
'isDefault' => true,
]);
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.