Creates a new email based on one already existing in the system.

Request Parameters

SessionID = {string} (required)
Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
Command = {Email.Duplicate} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here:
EmailID = {integer} (required)
The ID of the email which is to be duplicated.

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code
EmailID = {integer}
The ID of the new email.
EmailName = {string}
The name of the new email

Error Codes

Email id is missing
Email not found
Authentication failure or session expired
Not enough privileges