POST Migration/HasPreviousRelatedMigrations

Check if there is already an existing migration and give the id back

Request Information

Parameters

NameDescriptionAdditional information
checkMigrationInfos

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "SourceServerUrl": "sample string 1",
  "DestinationServerUrl": "sample string 2",
  "SourceServerType": 0,
  "DestinationServerType": 0,
  "SourceMail": "sample string 3",
  "DestinationMail": "sample string 4",
  "SourceAdminMail": "sample string 5",
  "DestinationAdminMail": "sample string 6",
  "MigrateMail": true,
  "MigrateFolder": true,
  "MigrateInboxRules": true,
  "MigrateContact": true,
  "MigrateContactGroup": true,
  "MigrateTask": true,
  "MigrateCalendar": true,
  "MigrateOofSettings": true
}

application/xml, text/xml

Sample:
<CheckMigration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMM_API.Models.Migration">
  <DestinationAdminMail>sample string 6</DestinationAdminMail>
  <DestinationMail>sample string 4</DestinationMail>
  <DestinationServerType>Exchange</DestinationServerType>
  <DestinationServerUrl>sample string 2</DestinationServerUrl>
  <MigrateCalendar>true</MigrateCalendar>
  <MigrateContact>true</MigrateContact>
  <MigrateContactGroup>true</MigrateContactGroup>
  <MigrateFolder>true</MigrateFolder>
  <MigrateInboxRules>true</MigrateInboxRules>
  <MigrateMail>true</MigrateMail>
  <MigrateOofSettings>true</MigrateOofSettings>
  <MigrateTask>true</MigrateTask>
  <SourceAdminMail>sample string 5</SourceAdminMail>
  <SourceMail>sample string 3</SourceMail>
  <SourceServerType>Exchange</SourceServerType>
  <SourceServerUrl>sample string 1</SourceServerUrl>
</CheckMigration>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>