PublishingSystemManagerServicesAddReplicationTarget Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<string> AddReplicationTarget( string pubTargetId, ReplicationTargetInput repTargetInfo )
Information of the replication target to add
Sample JSON input
{ "type": "FileReplicationTarget", "data": "{\"Disabled\":false,\"ID\":\"\",\"Name\":\"Staging Replication Target\",\"Description\":\"Replication Target for Staging Site\",\"TargetLocation\":\"f:\\\\igxsites\\\\mysite\",\"CompareContent\":false,\"UseCommands\":false,\"PreReplicationCommand\":\"\",\"PreReplicationCommandTimeout\":10,\"PostReplicationCommand\":\"\",\"PostReplicationCommandTimeout\":10,\"UseImpersonation\":false,\"ImpersonateUserName\":\"\",\"ImpersonateUserDomain\":\"\",\"ImpersonatePassword\":\"\"}", "exemptLocations": [], "additionalLocations": [], "cleanupExemptLocations": [] }
The unique id of created replication target