Newsletters
Returns list of all newsletters which have been selected via the API.
Filter Key: newsletterid (optional)
Request
https://adviserportals.co.uk/api/1.0/newsletters/apikey/responseformat
XML Response
<?xml version="1.0" encoding="utf-8"?>
<newsletters>
<header/>
<data>
<newsletter>
<newsletterID></newsletterID>
<newsletterTitle></newsletterTitle>
<newsletterEdition></newsletterEdition>
<newsletterDescription></newsletterDescription>
<newsletterSourceFileUri></newsletterSourceFileUri>
</newsletter>
</data>
</newsletters>
PHP
$api->getNewsletters(newsletterid = null);
Newsletter
Initiates download of selected newsletter in PDF format via the API.
Filter Key: newsletterid (required)
Request
https://adviserportals.co.uk/api/1.0/newsletter/apikey/responseformat/newsletterid/filtervalue
None - PDF Download
PHP
$api->newsletterDownload(newsletterid);