...
It is possible to build an application with the ability to activate a new trial console via public API endpoint. Here below you can find the expected workflow and the technical details for implementing it:
Panel | ||
---|---|---|
| ||
|
...
|
Getting Started
- Activate a developer console at http://developers.mailup.com/setupen
- Setup a new application from the freshly activated developer console (http://help.mailup.com/display/mailupapi/Getting+started)
- Take contact with Mail Up Support ( support@mailup.com ) to log a request for application authorization. ( please provide a description of the application, its name and related clientID )
...
- Method callback must be enclosing the API KEY in the header as stated in this page http://help.mailup.com/pages/viewpage.action?pageId=22806545(Please see Resource Access Requirements)
[Authorization] = "Basic " + Base64(ClientId + ":" + ClientSecret) - Callback response returns an Identity (ID) that can be used to track activation status with a further callback to the following https://services.mailup.com/API/v1.1/Rest/PublicService.svc/Console/TrialActivationStatus. (TrialActivationStatus)
Returned codes from TrialActivationStatus are:
Code Block 1 – Confirmed (Request has been accepted, activation is ready to start) 2 – Processed (Your trial has been activated and you’ll receive the account credentials in your inbox) 3 – Error (An error occurred and an alert has been notified to our support team in order to solve thithis issue) 4 – Manual (MailUp platform is in maintenance mode, your request will be processed as soon as the platform will be restored) 5 – In progress (The trial activation is in progress, soon you’ll receive the account credentials) 6 – Blocked (An error occurred and an alert has been notified to our support team in order to solve thithis issue) 7 – Re elaborated (The trial activation is in progress, soon you’ll receive the account credentials)
- Any activation request can be performed with a single call to TrialActivation and further callbacks looping on TrialActivationStatus until it returns ID=2
- Method callback must be enclosing the API KEY in the header as stated in this page http://help.mailup.com/pages/viewpage.action?pageId=22806545(Please see Resource Access Requirements)
Note |
---|
No more than one trial activation is allowed from the same caller IP. In order to facilitate the development and to avoid the creation of unused accounts, developers can take advantage of the "fake activation" feature, which can be used when IpAddress = 127.0.0.1 or when IpAddress starts with "192.168.". "Fake activation" does not actually create a new account , and it just returns an "-1" as activation request code. |
...