Dovico.TrackITAPI.CAssignment.GetSummaryInfo(System.String,Dovico.TrackITAPI.CStateInfo)
Function Overview:
Returns xml containing summary hours and costing information for both budget and actuals for a specified project, task, or employee. Please note that the xml format has changed from V11.
Parameter List:
sXml - string - xml containing the ID of the project, task, or employee to retrieve summary information for in the format assignmentgetsummaryinfo.xsd
siState - CStateInfo - state information needed to process the transaction
Returns
A string of xml containing the summary project hours and costing information for both budget and actual
Example:
// initialize a string of xml containing the ID of the project to retrieve summary information for
sXml = "<AssignmentGetSummaryInfo:ASSIGNMENTGETSUMMARYINFO xmlns:AssignmentGetSummaryInfo=\"http://www.dovico.com/schemas/assignmentgetsummaryinfo.xsd\"";
sXml += " PROJECT=\"116\" TASK=\"372\"/>";
// call the method
string sSummaryInfo = wsapi.MethodInvoke("AssignmentGetSummaryInfo", sXml, stToken);