Skip to main content

RtBaseline_CreateTransfer

The RtBaseline_CreateTransfee method/function creates a new AFTransfer in the AFDatabase.

Web Method Synopsis (C# Syntax)

public DataSet RtBaseline\_RtBaseline\_CreateTransfer( 
string sAFPath,
string sAFTemplate,
string sTransferID,
string sSource,
string sDestination,
DateTime dStartTime,
DateTime dEndTime);

Output Result

BOOL® Returns a TRUE/FALSE flag, indicating whether the action was performed with error (FALSE) or without  error (TRUE).

Input Parameters

sAFPath (STRING) ® AF Database path that must exist in the following format: \\Server\Database. If a NULL or empty string is specified, the Web Service tries to look up the element in the configured default SERVER and DATABASE configured in the machine that is running the Web Services.

sAFTemplate (STRING) ® The AFTemplate Name for creating the transfer (Mandatory).

sAFTransferID (STRING) ® The name of the Transfer.

sSource (STRING) ® The Source Element of the transfer (only the name, since the database is the one specified in the sAFPath parameter).*

sDestination (STRING) ® The Destination Element of the transfer (only the name, since the database is the one specified in the sAFPath parameter).*

dStartTime (DATETIME) ® StartTime of the Transfer (Mandatory).

dEndTime (DATETIME) ® EndTime of the Transfer. (Optional) If left NULL, the AFTransfer is left as OPEN.

Note:

  • In AF 2.x the SOURCE and DESTINATION parameters are not mandatory. If not specified, the transfer is created without a SOURCE and/or DESTINATION.
  • The StartTime must fall before the EndTime. Otherwise, an error is given.