POST - Add the server details for Migration

 Purpose

The API adds the server details for migration. 

 Request URL

 http://mail.zoho.com/api/organization/<zoid>/migration/servers

 Request Parameters

ParameterData TypeDescription
migrationName*StringThe unique name to refer the migration batch. 
serverName*StringHostName of the server from which the migration should be processed
port*IntegerPort number for the server from which the migrations should be processed
ssl*booleanWhether ssl is supported by the source server or not
protocol*StringType of Protocol by which the migration should happen
type*StringType of migration for the server
maximumConnection*IntegerMaximum connections accepted by the server for parallel migration
excludeFolderString CSVFolders to be excluded for migration
pathPrefixStringPath prefix if needed for IMAP Migration

* - Mandatory parameters

Sample Request

Copied{
    "serverName": "imap.sourceserver.com",
    "port": 993,
    "ssl": true,
    "protocol": "IMAP",
    "pathPrefix": "",
    "excludeFolder": "bulk,notification",
    "migrationName": "Migration1",
    "timeZone": 10,
    "type": "others",
    "maximumConnection": 1
}