...
Info |
---|
Note: the accessKey returned by the LoginFromId method in the MailUpSend Web Service can also be used for the MailUpReport and MailUpManage Web Services. |
SOAP Examples
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ws="http://services.mailupnet.it/WS"> <soap:Header/> <soap:Body> <ws:LoginFromId> <!--you can use special username ('a'+consoleID, whose password never expires) that is defined in Manage/web services page--> <ws:user>a1234</ws:user> <ws:pwd>password</ws:pwd> <ws:consoleId>1234</ws:consoleId> </ws:LoginFromId> </soap:Body> </soap:Envelope> |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<LoginResult> <errorCode>0</errorCode> <errorDescription></errorDescription> <!--Use accessKey value that is returned by LoginFromId method--> <ws:accessKey>HzAgwRRJaAKBtkgNWpkAuURfV4SxMm6T3HJegRuSkUivKJElNNcmSQe8nqGyoM9</ws:accessKey> </LoginResult> |
Code Examples
...
Logout method
Deletes the accessKey from the list, so that it can be no longer used. In case the method is not called, the accessKey remains active for 60 minutes
- string Logout(string accessKey)
- accessKey: access key obtained by calling the Login method
- LogoutResult: string containing the outcome of the operation
SOAP Examples
Code Block | ||
---|---|---|
| ||
<LogoutResult> <errorCode>0</errorCode> <errorDescription></errorDescription> </LogoutResult> |