...
The MailUpImport web service allows you to load into your MailUp account - using groups and lists - contacts contained in a third party applicationcoming from your database. It also allows you to access sending details and retrieve details about lists, groups and status of import operations, and also to segment the contact database. Among the tasks that you can perform using the MailUpImport Web Service:
...
- < 0 = error code
- 0 = call successful
- > 0 = ID of a message in the MailUp system
Sample ReturnCode
Code Block | ||||
---|---|---|---|---|
| ||||
<mailupMessage> <mailupBody> <ReturnCode>0</ReturnCode> ... </mailupBody> </mailupMessage> |
Authentication
...
The WS_MailUpImport web service requires for every call an authentication via username and password; credentials must be passed in the header of the SOAP message.
Sample MailUpImport authentication
Code Block | ||||
---|---|---|---|---|
| ||||
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Authentication xmlns="http://tempuri.org/"> <User>username</User> <Password>password</Password> </Authentication> </soap:Header> <soap:Body> ... </soap:Body> </soap:Envelope> |
Security warning: in the current release of the system the credentials passed in the authentication request are not encrypted |
---|
Error codes
ReturnCode values in case authentication fails are shown below:
Error Code | Description |
---|---|
-1000 | unrecognized error |
-1001 | the account is not valid |
-1002 | the password is not valid |
-1003 | suspended account |
-1004 | inactive account |
-1005 | expired account |
-1006 | the web service is not enabled |
-1007 | the web service is not active |
-1011 | IP is not registered |
-1012 | IP is registered but has the "deny access" flag |
All the methods requiring idList e listGuid at input, execute a check on the input values and return one of the following:
Error Code | Description |
---|---|
-100 | unrecognized error |
-101 | verification failed |
-102 | list Guid format is not valid |
...