1
Webservices QueMailBoxMigration not working
Problem reported by Brent Kenreich - September 15, 2015 at 5:45 AM
Resolved
The webservices documentation is incomplete and therefore largely unusable without hours of trying possible combinations and variable types
 
For example,
For QueMailBoxMigration
 
 
How is the parameter string supposed to be formatted? Single or double quotes or none?
 
<string>IMPORTTYPE=exchange2007</string>
<string>IMPORTTYPE=‘exchange2007'</string>
<string>IMPORTTYPE="exchange2007"</string>
 
Are the USESLL AND DELETECURRENTMAILBOX boolean values supposed to “false” or 0?
 
Why does the result code always return "user does not exist"? Is it the destination user, or the source user?
  <QueueMailBoxMigrationResponse xmlns="h t t p://tempuri.org/">
      <QueueMailBoxMigrationResult>
        <Result>false</Result>
        <ResultCode>-20</ResultCode>
        <Message>User does not exist.</Message>
      </QueueMailBoxMigrationResult>
    </QueueMailBoxMigrationResponse>

1 Reply

Reply to Thread
0
Robert Emmett Replied
September 15, 2015 at 7:43 AM
Employee Post
Brent,
 
If you go to http://yourserver.com/Services/ you will see all of the web services available.  Click on svcUserAdmin and navigate to QueueMailBoxMigration.  This provides the web service specification and definitions for each of the parameters.  In your particular case, USESLL and DELETECURRENTMAILBOX (which clears the destination mailbox, if it contains anything prior to the migration), require True or False values with no quotes.  The USERNAME and PASSWORD are for the source mailbox.  The IMPORTTYPE would be exchange2007orlater (again with no quotes).
 
I hope this helps!
Robert Emmett
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com

Reply to Thread