Skip to main content

RtBaseline_GetAFCases

The RtBaseline_GetAFCases method/function returns a matrix with the following characteristics:

  • ROWS: list of the AFCases retrieved by the query with the specified parameters
  • COLUMNS:
  • CASEStartTime (DATETIME) ® Start time of the case (localized) in standard .NET XML representation
  • CASEEndTime (DATETIME) ® End time of the case (localized) in standard .NET XML representation
  • CASEDesc (STRING) ® Case description/notes

Web Method Synopsis (C# Syntax)

public DataSet RtBaseline\_GetAFCases( 
string sAFPath,
DateTime dSearchStart,
DateTime dSearchEnd
string sSearchModule,
bool bOverlap,
bool bSortAsc);

Output Result

DATASET ® Returns a matrix of the retrieved case lost, based on a specified search time range and the selected AFAnalysis. Output column-set is:

  • StarTime [DateTime]
  • EndTime [DateTime]
  • CaseDesc [String]

For an EAI scenario, the output format is a standard XML DIFFGRAMM document. (For further information, refer to Microsoft XML DIFFGRAM v1.x and v2.x specifications.)

Input Parameters

sAFPath (STRING) ® Sigmafine AFAnalysis path. Specify the Sigmafine specific path according to the model configuration with the following format: \\Server\Database\Model\AFAnalysis

dSearchStart (DATETIME) ® Start time of the search specified in standard XML format

dSearchEnd (DATETIME) ® Start time of the search specified in standard XML format

sSecurityModule (STRING) ® Reserved for WDE. Leave blank.

bOverlap (BOOL) ® Overlapping-time search flag:

TRUE® The method returns all the Cases with StartTime or EndTime, or both within the dSearchStart and dSearchEnd time-range.

FALSE ® The method returns all the Cases with both StartTime and EndTime within the dSearchStart and dSearchEnd time-range.

bSortAsc (BOOL) ® Direction of output cases:

TRUE ® Sort in ASCENDING order, from oldest to newest StartTime.

FALSE ® Sort in DESCENDING order, from oldest to newest StartTime.