...
About MailUpImport | WS_MailUpImport Methods |
---|
| Child pages (Children Display) |
---|
|
|
...
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.
Note |
---|
title | Account credentials vs. API credentials |
---|
|
Note that the API credentials are different from the credentials you use to log into your MailUp account. |
Sample WS_MailUpImport authentication
Code Block |
---|
language | html/xml |
---|
linenumbers | true |
---|
|
<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>a21351</User>
<Password>URY256872UYT</Password>
</Authentication>
</soap:Header>
<soap:Body>
...
</soap:Body>
</soap:Envelope> |
Note |
---|
title | Security Information |
---|
|
Please Note: in the current release of the API 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 |
-1013 | Missing authentication data |
-1014 | Contract not signed |
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 |
...