Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CatiStatistic getByInterviewers

From Catglobe Wiki

CatiStatistic_getByInterviewers

Get CatiStatistic

Syntax

CatiStatistic_getByInterviewers(array interviewers, number qnaireRid, DateTimestartDate, DateTime endDate);

Arguments

array interviewers

number qnaireRid

DateTime startDate

DateTime endDate

Return type

Array of CatiStatistic

Example

Array interviewers = {15620372, 15003004};
number qnaireRid = 15629214;
DateTime startDate = new DateTime ("2018/2/7");
DateTime endDate = new DateTime ("2018/5/10");
Array result = CatiStatistic_getByInterviewers(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.AverageSuccessTime);//1725(126460512), 2962 (161290759)
	print(catiStat.TotalCallAttempts);	//643, 116
}