Difference between revisions of "CatiStatistic class"

From Catglobe Wiki
Jump to: navigation, search
Line 26: Line 26:
 
for(number i = 0; i<result.Count; i++ )
 
for(number i = 0; i<result.Count; i++ )
 
{
 
{
CatiStatistic catiStatistic = result[i];
+
CatiStatistic catiStat = result[i];
print(catiStatistic.InterviewerResourceId);//15003004, 15620372
+
print(catiStat.InterviewerResourceId);//15003004, 15620372
print(catiStatistic.TotalTime);//95280, 16740
+
print(catiStat.TotalTime);//95280, 16740
print(catiStatistic.RealTime);//89294, 16372
+
print(catiStat.RealTime);//89294, 16372
print(catiStatistic.AverageSuccesTime);//1725, 2962
+
print(catiStat.AverageSuccesTime);//1725, 2962
print(catiStatistic.TotalCallAttempts); //643, 116
+
print(catiStat.TotalCallAttempts); //643, 116
 
}
 
}
 
</source>
 
</source>

Revision as of 11:32, 11 May 2018

CatiStatistic



Represents a SampleRule.


Methods

  • string ToString() - The string representation of the object.

Properties

  • number AverageSuccesTime { get; set; } - Get/Set AverageSuccesTime in second
  • int InterviewerResourceId { get; set; } - Get/Set InterviewerResourceId
  • string ObjectTypeName { get; } - The name of the type of object.
  • number RealTime { get; set; } - Get/Set RealTime in second
  • int TotalCallAttempts { get; set; } - Get/Set TotalCallAttempts
  • number TotalTime { get; set; } - Get/Set TotalTime in second
  • TypeInformation TypeInformation { get; } - Get information about this class.


Examples

CatiStatistic is returned when calling CatiStat_get

Array interviewers = {15620372, 15003004};
number qnaireRid = 15629214;
Array startDate = {2018, 2, 7, 0, 0, 0, 0};
Array endDate = {2018, 5, 10, 0, 0, 0, 0};
Array result = CatiStat_get(interviewers, qnaireRid, startDate, endDate);
print(result);//{CatiStatistic,CatiStatistic}
for(number i = 0; i<result.Count; i++ )
{
	CatiStatistic catiStat = result[i];	
	print(catiStat.InterviewerResourceId);//15003004, 15620372
	print(catiStat.TotalTime);//95280, 16740
	print(catiStat.RealTime);//89294, 16372
	print(catiStat.AverageSuccesTime);//1725, 2962
	print(catiStat.TotalCallAttempts);	//643, 116
}