XML API DOCUMENTATION

MailPlatform
Online XML API Documentation.

How to initiate an xml request :

<xmlrequest>
   <username>[username]</username>
   <usertoken>[token]</usertoken>
   <requesttype>[request type]</requesttype>
   <requestmethod>[request method]</requestmethod>
   <details>[parameters]</details>
</xmlrequest>

php example :

$xml = "<xmlrequest>
   <username>[username]</username>
   <usertoken>[token]</usertoken>
   <requesttype>[request type]</requesttype>
   <requestmethod>[request method]</requestmethod>
   <details>[parameters]</details>
</xmlrequest>";

$ch = curl_init($application_URL .'/xml.php');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
$result = curl_exec($ch);

If a client wants to get access to the aplication's API, he must have username and token. Each client has it's own username and token. Each username and each token are unique and they are known only to the relevant client.Username and token, as well as the application URL, respectively are issued(given) by Mailplatform. For any inconvenience and vagueness, you can always contact our support center at : support@mailplatform.dk

Updated : December 2015
(c) MailPlatform